|
| void | emit_texture_op (const Instruction &i, bool sparse) override |
| |
| void | emit_binary_unord_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_instruction (const Instruction &instr) override |
| |
| void | emit_glsl_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) override |
| |
| void | emit_spv_amd_shader_trinary_minmax_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) override |
| |
| void | emit_header () override |
| |
| void | emit_function_prototype (SPIRFunction &func, const Bitset &return_flags) override |
| |
| void | emit_sampled_image_op (uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) override |
| |
| void | emit_subgroup_op (const Instruction &i) override |
| |
| std::string | to_texture_op (const Instruction &i, bool sparse, bool *forward, SmallVector< uint32_t > &inherited_expressions) override |
| |
| void | emit_fixup () override |
| |
| std::string | to_struct_member (const SPIRType &type, uint32_t member_type_id, uint32_t index, const std::string &qualifier="") |
| |
| void | emit_struct_member (const SPIRType &type, uint32_t member_type_id, uint32_t index, const std::string &qualifier="", uint32_t base_offset=0) override |
| |
| void | emit_struct_padding_target (const SPIRType &type) override |
| |
| std::string | type_to_glsl (const SPIRType &type, uint32_t id=0) override |
| |
| std::string | type_to_array_glsl (const SPIRType &type) override |
| |
| std::string | variable_decl (const SPIRVariable &variable) override |
| |
| std::string | variable_decl (const SPIRType &type, const std::string &name, uint32_t id=0) override |
| |
| std::string | image_type_glsl (const SPIRType &type, uint32_t id=0) override |
| |
| std::string | sampler_type (const SPIRType &type, uint32_t id) |
| |
| std::string | builtin_to_glsl (spv::BuiltIn builtin, spv::StorageClass storage) override |
| |
| std::string | to_func_call_arg (const SPIRFunction::Parameter &arg, uint32_t id) override |
| |
| std::string | to_name (uint32_t id, bool allow_alias=true) const override |
| |
| std::string | to_function_name (const TextureFunctionNameArguments &args) override |
| |
| std::string | to_function_args (const TextureFunctionArguments &args, bool *p_forward) override |
| |
| std::string | to_initializer_expression (const SPIRVariable &var) override |
| |
| std::string | to_zero_initialized_expression (uint32_t type_id) override |
| |
| std::string | unpack_expression_type (std::string expr_str, const SPIRType &type, uint32_t physical_type_id, bool is_packed, bool row_major) override |
| |
| bool | builtin_translates_to_nonarray (spv::BuiltIn builtin) const override |
| |
| std::string | bitcast_glsl_op (const SPIRType &result_type, const SPIRType &argument_type) override |
| |
| bool | emit_complex_bitcast (uint32_t result_id, uint32_t id, uint32_t op0) override |
| |
| bool | skip_argument (uint32_t id) const override |
| |
| std::string | to_member_reference (uint32_t base, const SPIRType &type, uint32_t index, bool ptr_chain) override |
| |
| std::string | to_qualifiers_glsl (uint32_t id) override |
| |
| void | replace_illegal_names () override |
| |
| void | declare_undefined_values () override |
| |
| void | declare_constant_arrays () |
| |
| void | replace_illegal_entry_point_names () |
| |
| void | sync_entry_point_aliases_and_names () |
| |
| void | declare_complex_constant_arrays () |
| |
| bool | is_patch_block (const SPIRType &type) |
| |
| bool | is_non_native_row_major_matrix (uint32_t id) override |
| |
| bool | member_is_non_native_row_major_matrix (const SPIRType &type, uint32_t index) override |
| |
| std::string | convert_row_major_matrix (std::string exp_str, const SPIRType &exp_type, uint32_t physical_type_id, bool is_packed) override |
| |
| void | preprocess_op_codes () |
| |
| void | localize_global_variables () |
| |
| void | extract_global_variables_from_functions () |
| |
| void | mark_packable_structs () |
| |
| void | mark_as_packable (SPIRType &type) |
| |
| void | extract_global_variables_from_function (uint32_t func_id, std::set< uint32_t > &added_arg_ids, std::unordered_set< uint32_t > &global_var_ids, std::unordered_set< uint32_t > &processed_func_ids) |
| |
| uint32_t | add_interface_block (spv::StorageClass storage, bool patch=false) |
| |
| uint32_t | add_interface_block_pointer (uint32_t ib_var_id, spv::StorageClass storage) |
| |
| void | add_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_composite_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_plain_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_plain_member_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, uint32_t index, InterfaceBlockMeta &meta) |
| |
| void | add_composite_member_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, uint32_t index, InterfaceBlockMeta &meta) |
| |
| uint32_t | get_accumulated_member_location (const SPIRVariable &var, uint32_t mbr_idx, bool strip_array) |
| |
| void | add_tess_level_input_to_interface_block (const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var) |
| |
| void | fix_up_interface_member_indices (spv::StorageClass storage, uint32_t ib_type_id) |
| |
| void | mark_location_as_used_by_shader (uint32_t location, const SPIRType &type, spv::StorageClass storage) |
| |
| uint32_t | ensure_correct_builtin_type (uint32_t type_id, spv::BuiltIn builtin) |
| |
| uint32_t | ensure_correct_input_type (uint32_t type_id, uint32_t location, uint32_t num_components=0) |
| |
| void | emit_custom_templates () |
| |
| void | emit_custom_functions () |
| |
| void | emit_resources () |
| |
| void | emit_specialization_constants_and_structs () |
| |
| void | emit_interface_block (uint32_t ib_var_id) |
| |
| bool | maybe_emit_array_assignment (uint32_t id_lhs, uint32_t id_rhs) |
| |
| uint32_t | get_resource_array_size (uint32_t id) const |
| |
| void | fix_up_shader_inputs_outputs () |
| |
| std::string | func_type_decl (SPIRType &type) |
| |
| std::string | entry_point_args_classic (bool append_comma) |
| |
| std::string | entry_point_args_argument_buffer (bool append_comma) |
| |
| std::string | entry_point_arg_stage_in () |
| |
| void | entry_point_args_builtin (std::string &args) |
| |
| void | entry_point_args_discrete_descriptors (std::string &args) |
| |
| std::string | to_qualified_member_name (const SPIRType &type, uint32_t index) |
| |
| std::string | ensure_valid_name (std::string name, std::string pfx) |
| |
| std::string | to_sampler_expression (uint32_t id) |
| |
| std::string | to_swizzle_expression (uint32_t id) |
| |
| std::string | to_buffer_size_expression (uint32_t id) |
| |
| bool | is_sample_rate () const |
| |
| bool | is_direct_input_builtin (spv::BuiltIn builtin) |
| |
| std::string | builtin_qualifier (spv::BuiltIn builtin) |
| |
| std::string | builtin_type_decl (spv::BuiltIn builtin, uint32_t id=0) |
| |
| std::string | built_in_func_arg (spv::BuiltIn builtin, bool prefix_comma) |
| |
| std::string | member_attribute_qualifier (const SPIRType &type, uint32_t index) |
| |
| std::string | argument_decl (const SPIRFunction::Parameter &arg) |
| |
| std::string | round_fp_tex_coords (std::string tex_coords, bool coord_is_fp) |
| |
| uint32_t | get_metal_resource_index (SPIRVariable &var, SPIRType::BaseType basetype, uint32_t plane=0) |
| |
| uint32_t | get_ordered_member_location (uint32_t type_id, uint32_t index, uint32_t *comp=nullptr) |
| |
| uint32_t | get_declared_type_size_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_array_stride_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_matrix_stride_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_alignment_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_struct_member_size_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_array_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_matrix_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_alignment_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_size_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_array_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_matrix_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_alignment_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| const SPIRType & | get_physical_member_type (const SPIRType &struct_type, uint32_t index) const |
| |
| SPIRType | get_presumed_input_type (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_size_msl (const SPIRType &struct_type, bool ignore_alignment=false, bool ignore_padding=false) const |
| |
| std::string | to_component_argument (uint32_t id) |
| |
| void | align_struct (SPIRType &ib_type, std::unordered_set< uint32_t > &aligned_structs) |
| |
| void | mark_scalar_layout_structs (const SPIRType &ib_type) |
| |
| void | mark_struct_members_packed (const SPIRType &type) |
| |
| void | ensure_member_packing_rules_msl (SPIRType &ib_type, uint32_t index) |
| |
| bool | validate_member_packing_rules_msl (const SPIRType &type, uint32_t index) const |
| |
| std::string | get_argument_address_space (const SPIRVariable &argument) |
| |
| std::string | get_type_address_space (const SPIRType &type, uint32_t id, bool argument=false) |
| |
| const char * | to_restrict (uint32_t id, bool space=true) |
| |
| SPIRType & | get_stage_in_struct_type () |
| |
| SPIRType & | get_stage_out_struct_type () |
| |
| SPIRType & | get_patch_stage_in_struct_type () |
| |
| SPIRType & | get_patch_stage_out_struct_type () |
| |
| std::string | get_tess_factor_struct_name () |
| |
| SPIRType & | get_uint_type () |
| |
| uint32_t | get_uint_type_id () |
| |
| void | emit_atomic_func_op (uint32_t result_type, uint32_t result_id, const char *op, uint32_t mem_order_1, uint32_t mem_order_2, bool has_mem_order_2, uint32_t op0, uint32_t op1=0, bool op1_is_pointer=false, bool op1_is_literal=false, uint32_t op2=0) |
| |
| const char * | get_memory_order (uint32_t spv_mem_sem) |
| |
| void | add_pragma_line (const std::string &line) |
| |
| void | add_typedef_line (const std::string &line) |
| |
| void | emit_barrier (uint32_t id_exe_scope, uint32_t id_mem_scope, uint32_t id_mem_sem) |
| |
| void | emit_array_copy (const std::string &lhs, uint32_t rhs_id, spv::StorageClass lhs_storage, spv::StorageClass rhs_storage) override |
| |
| void | build_implicit_builtins () |
| |
| uint32_t | build_constant_uint_array_pointer () |
| |
| void | emit_entry_point_declarations () override |
| |
| void | cast_to_builtin_store (uint32_t target_id, std::string &expr, const SPIRType &expr_type) override |
| |
| void | cast_from_builtin_load (uint32_t source_id, std::string &expr, const SPIRType &expr_type) override |
| |
| void | emit_store_statement (uint32_t lhs_expression, uint32_t rhs_expression) override |
| |
| void | analyze_sampled_image_usage () |
| |
| void | prepare_access_chain_for_scalar_access (std::string &expr, const SPIRType &type, spv::StorageClass storage, bool &is_packed) override |
| |
| void | fix_up_interpolant_access_chain (const uint32_t *ops, uint32_t length) |
| |
| bool | emit_tessellation_access_chain (const uint32_t *ops, uint32_t length) |
| |
| bool | emit_tessellation_io_load (uint32_t result_type, uint32_t id, uint32_t ptr) |
| |
| bool | is_out_of_bounds_tessellation_level (uint32_t id_lhs) |
| |
| void | ensure_builtin (spv::StorageClass storage, spv::BuiltIn builtin) |
| |
| void | mark_implicit_builtin (spv::StorageClass storage, spv::BuiltIn builtin, uint32_t id) |
| |
| std::string | convert_to_f32 (const std::string &expr, uint32_t components) |
| |
| bool | using_builtin_array () const |
| |
| const MSLConstexprSampler * | find_constexpr_sampler (uint32_t id) const |
| |
| void | analyze_argument_buffers () |
| |
| bool | descriptor_set_is_argument_buffer (uint32_t desc_set) const |
| |
| uint32_t | get_target_components_for_fragment_location (uint32_t location) const |
| |
| uint32_t | build_extended_vector_type (uint32_t type_id, uint32_t components, SPIRType::BaseType basetype=SPIRType::Unknown) |
| |
| uint32_t | build_msl_interpolant_type (uint32_t type_id, bool is_noperspective) |
| |
| void | add_spv_func_and_recompile (SPVFuncImpl spv_func) |
| |
| void | activate_argument_buffer_resources () |
| |
| bool | type_is_msl_framebuffer_fetch (const SPIRType &type) const |
| |
| bool | is_supported_argument_buffer_type (const SPIRType &type) const |
| |
| void | emit_texture_op (const Instruction &i, bool sparse) override |
| |
| void | emit_binary_unord_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_instruction (const Instruction &instr) override |
| |
| void | emit_glsl_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) override |
| |
| void | emit_spv_amd_shader_trinary_minmax_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) override |
| |
| void | emit_header () override |
| |
| void | emit_function_prototype (SPIRFunction &func, const Bitset &return_flags) override |
| |
| void | emit_sampled_image_op (uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) override |
| |
| void | emit_subgroup_op (const Instruction &i) override |
| |
| std::string | to_texture_op (const Instruction &i, bool sparse, bool *forward, SmallVector< uint32_t > &inherited_expressions) override |
| |
| void | emit_fixup () override |
| |
| std::string | to_struct_member (const SPIRType &type, uint32_t member_type_id, uint32_t index, const std::string &qualifier="") |
| |
| void | emit_struct_member (const SPIRType &type, uint32_t member_type_id, uint32_t index, const std::string &qualifier="", uint32_t base_offset=0) override |
| |
| void | emit_struct_padding_target (const SPIRType &type) override |
| |
| std::string | type_to_glsl (const SPIRType &type, uint32_t id=0) override |
| |
| std::string | type_to_array_glsl (const SPIRType &type) override |
| |
| std::string | variable_decl (const SPIRVariable &variable) override |
| |
| std::string | variable_decl (const SPIRType &type, const std::string &name, uint32_t id=0) override |
| |
| std::string | image_type_glsl (const SPIRType &type, uint32_t id=0) override |
| |
| std::string | sampler_type (const SPIRType &type, uint32_t id) |
| |
| std::string | builtin_to_glsl (spv::BuiltIn builtin, spv::StorageClass storage) override |
| |
| std::string | to_func_call_arg (const SPIRFunction::Parameter &arg, uint32_t id) override |
| |
| std::string | to_name (uint32_t id, bool allow_alias=true) const override |
| |
| std::string | to_function_name (const TextureFunctionNameArguments &args) override |
| |
| std::string | to_function_args (const TextureFunctionArguments &args, bool *p_forward) override |
| |
| std::string | to_initializer_expression (const SPIRVariable &var) override |
| |
| std::string | to_zero_initialized_expression (uint32_t type_id) override |
| |
| std::string | unpack_expression_type (std::string expr_str, const SPIRType &type, uint32_t physical_type_id, bool is_packed, bool row_major) override |
| |
| bool | builtin_translates_to_nonarray (spv::BuiltIn builtin) const override |
| |
| std::string | bitcast_glsl_op (const SPIRType &result_type, const SPIRType &argument_type) override |
| |
| bool | emit_complex_bitcast (uint32_t result_id, uint32_t id, uint32_t op0) override |
| |
| bool | skip_argument (uint32_t id) const override |
| |
| std::string | to_member_reference (uint32_t base, const SPIRType &type, uint32_t index, bool ptr_chain) override |
| |
| std::string | to_qualifiers_glsl (uint32_t id) override |
| |
| void | replace_illegal_names () override |
| |
| void | declare_undefined_values () override |
| |
| void | declare_constant_arrays () |
| |
| void | replace_illegal_entry_point_names () |
| |
| void | sync_entry_point_aliases_and_names () |
| |
| void | declare_complex_constant_arrays () |
| |
| bool | is_patch_block (const SPIRType &type) |
| |
| bool | is_non_native_row_major_matrix (uint32_t id) override |
| |
| bool | member_is_non_native_row_major_matrix (const SPIRType &type, uint32_t index) override |
| |
| std::string | convert_row_major_matrix (std::string exp_str, const SPIRType &exp_type, uint32_t physical_type_id, bool is_packed) override |
| |
| void | preprocess_op_codes () |
| |
| void | localize_global_variables () |
| |
| void | extract_global_variables_from_functions () |
| |
| void | mark_packable_structs () |
| |
| void | mark_as_packable (SPIRType &type) |
| |
| void | extract_global_variables_from_function (uint32_t func_id, std::set< uint32_t > &added_arg_ids, std::unordered_set< uint32_t > &global_var_ids, std::unordered_set< uint32_t > &processed_func_ids) |
| |
| uint32_t | add_interface_block (spv::StorageClass storage, bool patch=false) |
| |
| uint32_t | add_interface_block_pointer (uint32_t ib_var_id, spv::StorageClass storage) |
| |
| void | add_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_composite_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_plain_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_plain_member_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, uint32_t index, InterfaceBlockMeta &meta) |
| |
| void | add_composite_member_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, uint32_t index, InterfaceBlockMeta &meta) |
| |
| uint32_t | get_accumulated_member_location (const SPIRVariable &var, uint32_t mbr_idx, bool strip_array) |
| |
| void | add_tess_level_input_to_interface_block (const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var) |
| |
| void | fix_up_interface_member_indices (spv::StorageClass storage, uint32_t ib_type_id) |
| |
| void | mark_location_as_used_by_shader (uint32_t location, const SPIRType &type, spv::StorageClass storage) |
| |
| uint32_t | ensure_correct_builtin_type (uint32_t type_id, spv::BuiltIn builtin) |
| |
| uint32_t | ensure_correct_input_type (uint32_t type_id, uint32_t location, uint32_t num_components=0) |
| |
| void | emit_custom_templates () |
| |
| void | emit_custom_functions () |
| |
| void | emit_resources () |
| |
| void | emit_specialization_constants_and_structs () |
| |
| void | emit_interface_block (uint32_t ib_var_id) |
| |
| bool | maybe_emit_array_assignment (uint32_t id_lhs, uint32_t id_rhs) |
| |
| uint32_t | get_resource_array_size (uint32_t id) const |
| |
| void | fix_up_shader_inputs_outputs () |
| |
| std::string | func_type_decl (SPIRType &type) |
| |
| std::string | entry_point_args_classic (bool append_comma) |
| |
| std::string | entry_point_args_argument_buffer (bool append_comma) |
| |
| std::string | entry_point_arg_stage_in () |
| |
| void | entry_point_args_builtin (std::string &args) |
| |
| void | entry_point_args_discrete_descriptors (std::string &args) |
| |
| std::string | to_qualified_member_name (const SPIRType &type, uint32_t index) |
| |
| std::string | ensure_valid_name (std::string name, std::string pfx) |
| |
| std::string | to_sampler_expression (uint32_t id) |
| |
| std::string | to_swizzle_expression (uint32_t id) |
| |
| std::string | to_buffer_size_expression (uint32_t id) |
| |
| bool | is_sample_rate () const |
| |
| bool | is_direct_input_builtin (spv::BuiltIn builtin) |
| |
| std::string | builtin_qualifier (spv::BuiltIn builtin) |
| |
| std::string | builtin_type_decl (spv::BuiltIn builtin, uint32_t id=0) |
| |
| std::string | built_in_func_arg (spv::BuiltIn builtin, bool prefix_comma) |
| |
| std::string | member_attribute_qualifier (const SPIRType &type, uint32_t index) |
| |
| std::string | argument_decl (const SPIRFunction::Parameter &arg) |
| |
| std::string | round_fp_tex_coords (std::string tex_coords, bool coord_is_fp) |
| |
| uint32_t | get_metal_resource_index (SPIRVariable &var, SPIRType::BaseType basetype, uint32_t plane=0) |
| |
| uint32_t | get_ordered_member_location (uint32_t type_id, uint32_t index, uint32_t *comp=nullptr) |
| |
| uint32_t | get_declared_type_size_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_array_stride_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_matrix_stride_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_alignment_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_struct_member_size_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_array_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_matrix_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_alignment_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_size_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_array_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_matrix_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_alignment_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| const SPIRType & | get_physical_member_type (const SPIRType &struct_type, uint32_t index) const |
| |
| SPIRType | get_presumed_input_type (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_size_msl (const SPIRType &struct_type, bool ignore_alignment=false, bool ignore_padding=false) const |
| |
| std::string | to_component_argument (uint32_t id) |
| |
| void | align_struct (SPIRType &ib_type, std::unordered_set< uint32_t > &aligned_structs) |
| |
| void | mark_scalar_layout_structs (const SPIRType &ib_type) |
| |
| void | mark_struct_members_packed (const SPIRType &type) |
| |
| void | ensure_member_packing_rules_msl (SPIRType &ib_type, uint32_t index) |
| |
| bool | validate_member_packing_rules_msl (const SPIRType &type, uint32_t index) const |
| |
| std::string | get_argument_address_space (const SPIRVariable &argument) |
| |
| std::string | get_type_address_space (const SPIRType &type, uint32_t id, bool argument=false) |
| |
| const char * | to_restrict (uint32_t id, bool space=true) |
| |
| SPIRType & | get_stage_in_struct_type () |
| |
| SPIRType & | get_stage_out_struct_type () |
| |
| SPIRType & | get_patch_stage_in_struct_type () |
| |
| SPIRType & | get_patch_stage_out_struct_type () |
| |
| std::string | get_tess_factor_struct_name () |
| |
| SPIRType & | get_uint_type () |
| |
| uint32_t | get_uint_type_id () |
| |
| void | emit_atomic_func_op (uint32_t result_type, uint32_t result_id, const char *op, uint32_t mem_order_1, uint32_t mem_order_2, bool has_mem_order_2, uint32_t op0, uint32_t op1=0, bool op1_is_pointer=false, bool op1_is_literal=false, uint32_t op2=0) |
| |
| const char * | get_memory_order (uint32_t spv_mem_sem) |
| |
| void | add_pragma_line (const std::string &line) |
| |
| void | add_typedef_line (const std::string &line) |
| |
| void | emit_barrier (uint32_t id_exe_scope, uint32_t id_mem_scope, uint32_t id_mem_sem) |
| |
| void | emit_array_copy (const std::string &lhs, uint32_t rhs_id, spv::StorageClass lhs_storage, spv::StorageClass rhs_storage) override |
| |
| void | build_implicit_builtins () |
| |
| uint32_t | build_constant_uint_array_pointer () |
| |
| void | emit_entry_point_declarations () override |
| |
| void | cast_to_builtin_store (uint32_t target_id, std::string &expr, const SPIRType &expr_type) override |
| |
| void | cast_from_builtin_load (uint32_t source_id, std::string &expr, const SPIRType &expr_type) override |
| |
| void | emit_store_statement (uint32_t lhs_expression, uint32_t rhs_expression) override |
| |
| void | analyze_sampled_image_usage () |
| |
| void | prepare_access_chain_for_scalar_access (std::string &expr, const SPIRType &type, spv::StorageClass storage, bool &is_packed) override |
| |
| void | fix_up_interpolant_access_chain (const uint32_t *ops, uint32_t length) |
| |
| bool | emit_tessellation_access_chain (const uint32_t *ops, uint32_t length) |
| |
| bool | emit_tessellation_io_load (uint32_t result_type, uint32_t id, uint32_t ptr) |
| |
| bool | is_out_of_bounds_tessellation_level (uint32_t id_lhs) |
| |
| void | ensure_builtin (spv::StorageClass storage, spv::BuiltIn builtin) |
| |
| void | mark_implicit_builtin (spv::StorageClass storage, spv::BuiltIn builtin, uint32_t id) |
| |
| std::string | convert_to_f32 (const std::string &expr, uint32_t components) |
| |
| bool | using_builtin_array () const |
| |
| const MSLConstexprSampler * | find_constexpr_sampler (uint32_t id) const |
| |
| void | analyze_argument_buffers () |
| |
| bool | descriptor_set_is_argument_buffer (uint32_t desc_set) const |
| |
| uint32_t | get_target_components_for_fragment_location (uint32_t location) const |
| |
| uint32_t | build_extended_vector_type (uint32_t type_id, uint32_t components, SPIRType::BaseType basetype=SPIRType::Unknown) |
| |
| uint32_t | build_msl_interpolant_type (uint32_t type_id, bool is_noperspective) |
| |
| void | add_spv_func_and_recompile (SPVFuncImpl spv_func) |
| |
| void | activate_argument_buffer_resources () |
| |
| bool | type_is_msl_framebuffer_fetch (const SPIRType &type) const |
| |
| bool | is_supported_argument_buffer_type (const SPIRType &type) const |
| |
| void | emit_texture_op (const Instruction &i, bool sparse) override |
| |
| void | emit_binary_unord_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_instruction (const Instruction &instr) override |
| |
| void | emit_glsl_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) override |
| |
| void | emit_spv_amd_shader_trinary_minmax_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) override |
| |
| void | emit_header () override |
| |
| void | emit_function_prototype (SPIRFunction &func, const Bitset &return_flags) override |
| |
| void | emit_sampled_image_op (uint32_t result_type, uint32_t result_id, uint32_t image_id, uint32_t samp_id) override |
| |
| void | emit_subgroup_op (const Instruction &i) override |
| |
| std::string | to_texture_op (const Instruction &i, bool sparse, bool *forward, SmallVector< uint32_t > &inherited_expressions) override |
| |
| void | emit_fixup () override |
| |
| std::string | to_struct_member (const SPIRType &type, uint32_t member_type_id, uint32_t index, const std::string &qualifier="") |
| |
| void | emit_struct_member (const SPIRType &type, uint32_t member_type_id, uint32_t index, const std::string &qualifier="", uint32_t base_offset=0) override |
| |
| void | emit_struct_padding_target (const SPIRType &type) override |
| |
| std::string | type_to_glsl (const SPIRType &type, uint32_t id=0) override |
| |
| std::string | type_to_array_glsl (const SPIRType &type) override |
| |
| std::string | variable_decl (const SPIRVariable &variable) override |
| |
| std::string | variable_decl (const SPIRType &type, const std::string &name, uint32_t id=0) override |
| |
| std::string | image_type_glsl (const SPIRType &type, uint32_t id=0) override |
| |
| std::string | sampler_type (const SPIRType &type, uint32_t id) |
| |
| std::string | builtin_to_glsl (spv::BuiltIn builtin, spv::StorageClass storage) override |
| |
| std::string | to_func_call_arg (const SPIRFunction::Parameter &arg, uint32_t id) override |
| |
| std::string | to_name (uint32_t id, bool allow_alias=true) const override |
| |
| std::string | to_function_name (const TextureFunctionNameArguments &args) override |
| |
| std::string | to_function_args (const TextureFunctionArguments &args, bool *p_forward) override |
| |
| std::string | to_initializer_expression (const SPIRVariable &var) override |
| |
| std::string | to_zero_initialized_expression (uint32_t type_id) override |
| |
| std::string | unpack_expression_type (std::string expr_str, const SPIRType &type, uint32_t physical_type_id, bool is_packed, bool row_major) override |
| |
| bool | builtin_translates_to_nonarray (spv::BuiltIn builtin) const override |
| |
| std::string | bitcast_glsl_op (const SPIRType &result_type, const SPIRType &argument_type) override |
| |
| bool | emit_complex_bitcast (uint32_t result_id, uint32_t id, uint32_t op0) override |
| |
| bool | skip_argument (uint32_t id) const override |
| |
| std::string | to_member_reference (uint32_t base, const SPIRType &type, uint32_t index, bool ptr_chain) override |
| |
| std::string | to_qualifiers_glsl (uint32_t id) override |
| |
| void | replace_illegal_names () override |
| |
| void | declare_undefined_values () override |
| |
| void | declare_constant_arrays () |
| |
| void | replace_illegal_entry_point_names () |
| |
| void | sync_entry_point_aliases_and_names () |
| |
| void | declare_complex_constant_arrays () |
| |
| bool | is_patch_block (const SPIRType &type) |
| |
| bool | is_non_native_row_major_matrix (uint32_t id) override |
| |
| bool | member_is_non_native_row_major_matrix (const SPIRType &type, uint32_t index) override |
| |
| std::string | convert_row_major_matrix (std::string exp_str, const SPIRType &exp_type, uint32_t physical_type_id, bool is_packed) override |
| |
| void | preprocess_op_codes () |
| |
| void | localize_global_variables () |
| |
| void | extract_global_variables_from_functions () |
| |
| void | mark_packable_structs () |
| |
| void | mark_as_packable (SPIRType &type) |
| |
| void | extract_global_variables_from_function (uint32_t func_id, std::set< uint32_t > &added_arg_ids, std::unordered_set< uint32_t > &global_var_ids, std::unordered_set< uint32_t > &processed_func_ids) |
| |
| uint32_t | add_interface_block (spv::StorageClass storage, bool patch=false) |
| |
| uint32_t | add_interface_block_pointer (uint32_t ib_var_id, spv::StorageClass storage) |
| |
| void | add_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_composite_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_plain_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta) |
| |
| void | add_plain_member_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, uint32_t index, InterfaceBlockMeta &meta) |
| |
| void | add_composite_member_variable_to_interface_block (spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, uint32_t index, InterfaceBlockMeta &meta) |
| |
| uint32_t | get_accumulated_member_location (const SPIRVariable &var, uint32_t mbr_idx, bool strip_array) |
| |
| void | add_tess_level_input_to_interface_block (const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var) |
| |
| void | fix_up_interface_member_indices (spv::StorageClass storage, uint32_t ib_type_id) |
| |
| void | mark_location_as_used_by_shader (uint32_t location, const SPIRType &type, spv::StorageClass storage) |
| |
| uint32_t | ensure_correct_builtin_type (uint32_t type_id, spv::BuiltIn builtin) |
| |
| uint32_t | ensure_correct_input_type (uint32_t type_id, uint32_t location, uint32_t num_components=0) |
| |
| void | emit_custom_templates () |
| |
| void | emit_custom_functions () |
| |
| void | emit_resources () |
| |
| void | emit_specialization_constants_and_structs () |
| |
| void | emit_interface_block (uint32_t ib_var_id) |
| |
| bool | maybe_emit_array_assignment (uint32_t id_lhs, uint32_t id_rhs) |
| |
| uint32_t | get_resource_array_size (uint32_t id) const |
| |
| void | fix_up_shader_inputs_outputs () |
| |
| std::string | func_type_decl (SPIRType &type) |
| |
| std::string | entry_point_args_classic (bool append_comma) |
| |
| std::string | entry_point_args_argument_buffer (bool append_comma) |
| |
| std::string | entry_point_arg_stage_in () |
| |
| void | entry_point_args_builtin (std::string &args) |
| |
| void | entry_point_args_discrete_descriptors (std::string &args) |
| |
| std::string | to_qualified_member_name (const SPIRType &type, uint32_t index) |
| |
| std::string | ensure_valid_name (std::string name, std::string pfx) |
| |
| std::string | to_sampler_expression (uint32_t id) |
| |
| std::string | to_swizzle_expression (uint32_t id) |
| |
| std::string | to_buffer_size_expression (uint32_t id) |
| |
| bool | is_sample_rate () const |
| |
| bool | is_direct_input_builtin (spv::BuiltIn builtin) |
| |
| std::string | builtin_qualifier (spv::BuiltIn builtin) |
| |
| std::string | builtin_type_decl (spv::BuiltIn builtin, uint32_t id=0) |
| |
| std::string | built_in_func_arg (spv::BuiltIn builtin, bool prefix_comma) |
| |
| std::string | member_attribute_qualifier (const SPIRType &type, uint32_t index) |
| |
| std::string | argument_decl (const SPIRFunction::Parameter &arg) |
| |
| std::string | round_fp_tex_coords (std::string tex_coords, bool coord_is_fp) |
| |
| uint32_t | get_metal_resource_index (SPIRVariable &var, SPIRType::BaseType basetype, uint32_t plane=0) |
| |
| uint32_t | get_ordered_member_location (uint32_t type_id, uint32_t index, uint32_t *comp=nullptr) |
| |
| uint32_t | get_declared_type_size_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_array_stride_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_matrix_stride_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_type_alignment_msl (const SPIRType &type, bool packed, bool row_major) const |
| |
| uint32_t | get_declared_struct_member_size_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_array_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_matrix_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_member_alignment_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_size_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_array_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_matrix_stride_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_input_alignment_msl (const SPIRType &struct_type, uint32_t index) const |
| |
| const SPIRType & | get_physical_member_type (const SPIRType &struct_type, uint32_t index) const |
| |
| SPIRType | get_presumed_input_type (const SPIRType &struct_type, uint32_t index) const |
| |
| uint32_t | get_declared_struct_size_msl (const SPIRType &struct_type, bool ignore_alignment=false, bool ignore_padding=false) const |
| |
| std::string | to_component_argument (uint32_t id) |
| |
| void | align_struct (SPIRType &ib_type, std::unordered_set< uint32_t > &aligned_structs) |
| |
| void | mark_scalar_layout_structs (const SPIRType &ib_type) |
| |
| void | mark_struct_members_packed (const SPIRType &type) |
| |
| void | ensure_member_packing_rules_msl (SPIRType &ib_type, uint32_t index) |
| |
| bool | validate_member_packing_rules_msl (const SPIRType &type, uint32_t index) const |
| |
| std::string | get_argument_address_space (const SPIRVariable &argument) |
| |
| std::string | get_type_address_space (const SPIRType &type, uint32_t id, bool argument=false) |
| |
| const char * | to_restrict (uint32_t id, bool space=true) |
| |
| SPIRType & | get_stage_in_struct_type () |
| |
| SPIRType & | get_stage_out_struct_type () |
| |
| SPIRType & | get_patch_stage_in_struct_type () |
| |
| SPIRType & | get_patch_stage_out_struct_type () |
| |
| std::string | get_tess_factor_struct_name () |
| |
| SPIRType & | get_uint_type () |
| |
| uint32_t | get_uint_type_id () |
| |
| void | emit_atomic_func_op (uint32_t result_type, uint32_t result_id, const char *op, uint32_t mem_order_1, uint32_t mem_order_2, bool has_mem_order_2, uint32_t op0, uint32_t op1=0, bool op1_is_pointer=false, bool op1_is_literal=false, uint32_t op2=0) |
| |
| const char * | get_memory_order (uint32_t spv_mem_sem) |
| |
| void | add_pragma_line (const std::string &line) |
| |
| void | add_typedef_line (const std::string &line) |
| |
| void | emit_barrier (uint32_t id_exe_scope, uint32_t id_mem_scope, uint32_t id_mem_sem) |
| |
| void | emit_array_copy (const std::string &lhs, uint32_t rhs_id, spv::StorageClass lhs_storage, spv::StorageClass rhs_storage) override |
| |
| void | build_implicit_builtins () |
| |
| uint32_t | build_constant_uint_array_pointer () |
| |
| void | emit_entry_point_declarations () override |
| |
| void | cast_to_builtin_store (uint32_t target_id, std::string &expr, const SPIRType &expr_type) override |
| |
| void | cast_from_builtin_load (uint32_t source_id, std::string &expr, const SPIRType &expr_type) override |
| |
| void | emit_store_statement (uint32_t lhs_expression, uint32_t rhs_expression) override |
| |
| void | analyze_sampled_image_usage () |
| |
| void | prepare_access_chain_for_scalar_access (std::string &expr, const SPIRType &type, spv::StorageClass storage, bool &is_packed) override |
| |
| void | fix_up_interpolant_access_chain (const uint32_t *ops, uint32_t length) |
| |
| bool | emit_tessellation_access_chain (const uint32_t *ops, uint32_t length) |
| |
| bool | emit_tessellation_io_load (uint32_t result_type, uint32_t id, uint32_t ptr) |
| |
| bool | is_out_of_bounds_tessellation_level (uint32_t id_lhs) |
| |
| void | ensure_builtin (spv::StorageClass storage, spv::BuiltIn builtin) |
| |
| void | mark_implicit_builtin (spv::StorageClass storage, spv::BuiltIn builtin, uint32_t id) |
| |
| std::string | convert_to_f32 (const std::string &expr, uint32_t components) |
| |
| bool | using_builtin_array () const |
| |
| const MSLConstexprSampler * | find_constexpr_sampler (uint32_t id) const |
| |
| void | analyze_argument_buffers () |
| |
| bool | descriptor_set_is_argument_buffer (uint32_t desc_set) const |
| |
| uint32_t | get_target_components_for_fragment_location (uint32_t location) const |
| |
| uint32_t | build_extended_vector_type (uint32_t type_id, uint32_t components, SPIRType::BaseType basetype=SPIRType::Unknown) |
| |
| uint32_t | build_msl_interpolant_type (uint32_t type_id, bool is_noperspective) |
| |
| void | add_spv_func_and_recompile (SPVFuncImpl spv_func) |
| |
| void | activate_argument_buffer_resources () |
| |
| bool | type_is_msl_framebuffer_fetch (const SPIRType &type) const |
| |
| bool | is_supported_argument_buffer_type (const SPIRType &type) const |
| |
| void | reset () |
| |
| void | reset () |
| |
| void | reset () |
| |
| void | emit_function (SPIRFunction &func, const Bitset &return_flags) |
| |
| void | emit_function (SPIRFunction &func, const Bitset &return_flags) |
| |
| void | emit_function (SPIRFunction &func, const Bitset &return_flags) |
| |
| bool | has_extension (const std::string &ext) const |
| |
| bool | has_extension (const std::string &ext) const |
| |
| bool | has_extension (const std::string &ext) const |
| |
| void | require_extension_internal (const std::string &ext) |
| |
| void | require_extension_internal (const std::string &ext) |
| |
| void | require_extension_internal (const std::string &ext) |
| |
| void | emit_block_instructions (SPIRBlock &block) |
| |
| void | emit_block_instructions (SPIRBlock &block) |
| |
| void | emit_block_instructions (SPIRBlock &block) |
| |
| virtual void | emit_spv_amd_shader_ballot_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_shader_ballot_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_shader_ballot_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_shader_explicit_vertex_parameter_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_shader_explicit_vertex_parameter_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_shader_explicit_vertex_parameter_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_gcn_shader_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_gcn_shader_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| virtual void | emit_spv_amd_gcn_shader_op (uint32_t result_type, uint32_t result_id, uint32_t op, const uint32_t *args, uint32_t count) |
| |
| void | emit_line_directive (uint32_t file_id, uint32_t line_literal) |
| |
| void | emit_line_directive (uint32_t file_id, uint32_t line_literal) |
| |
| void | emit_line_directive (uint32_t file_id, uint32_t line_literal) |
| |
| void | build_workgroup_size (SmallVector< std::string > &arguments, const SpecializationConstant &x, const SpecializationConstant &y, const SpecializationConstant &z) |
| |
| void | build_workgroup_size (SmallVector< std::string > &arguments, const SpecializationConstant &x, const SpecializationConstant &y, const SpecializationConstant &z) |
| |
| void | build_workgroup_size (SmallVector< std::string > &arguments, const SpecializationConstant &x, const SpecializationConstant &y, const SpecializationConstant &z) |
| |
| void | request_subgroup_feature (ShaderSubgroupSupportHelper::Feature feature) |
| |
| void | request_subgroup_feature (ShaderSubgroupSupportHelper::Feature feature) |
| |
| void | request_subgroup_feature (ShaderSubgroupSupportHelper::Feature feature) |
| |
| std::string | constant_expression (const SPIRConstant &c) |
| |
| std::string | constant_expression (const SPIRConstant &c) |
| |
| std::string | constant_expression (const SPIRConstant &c) |
| |
| std::string | constant_op_expression (const SPIRConstantOp &cop) |
| |
| std::string | constant_op_expression (const SPIRConstantOp &cop) |
| |
| std::string | constant_op_expression (const SPIRConstantOp &cop) |
| |
| virtual std::string | constant_expression_vector (const SPIRConstant &c, uint32_t vector) |
| |
| virtual std::string | constant_expression_vector (const SPIRConstant &c, uint32_t vector) |
| |
| virtual std::string | constant_expression_vector (const SPIRConstant &c, uint32_t vector) |
| |
| void | emit_sparse_feedback_temporaries (uint32_t result_type_id, uint32_t id, uint32_t &feedback_id, uint32_t &texel_id) |
| |
| void | emit_sparse_feedback_temporaries (uint32_t result_type_id, uint32_t id, uint32_t &feedback_id, uint32_t &texel_id) |
| |
| void | emit_sparse_feedback_temporaries (uint32_t result_type_id, uint32_t id, uint32_t &feedback_id, uint32_t &texel_id) |
| |
| uint32_t | get_sparse_feedback_texel_id (uint32_t id) const |
| |
| uint32_t | get_sparse_feedback_texel_id (uint32_t id) const |
| |
| uint32_t | get_sparse_feedback_texel_id (uint32_t id) const |
| |
| virtual void | emit_buffer_block (const SPIRVariable &type) |
| |
| virtual void | emit_buffer_block (const SPIRVariable &type) |
| |
| virtual void | emit_buffer_block (const SPIRVariable &type) |
| |
| virtual void | emit_push_constant_block (const SPIRVariable &var) |
| |
| virtual void | emit_push_constant_block (const SPIRVariable &var) |
| |
| virtual void | emit_push_constant_block (const SPIRVariable &var) |
| |
| virtual void | emit_uniform (const SPIRVariable &var) |
| |
| virtual void | emit_uniform (const SPIRVariable &var) |
| |
| virtual void | emit_uniform (const SPIRVariable &var) |
| |
| void | emit_copy_logical_type (uint32_t lhs_id, uint32_t lhs_type_id, uint32_t rhs_id, uint32_t rhs_type_id, SmallVector< uint32_t > chain) |
| |
| void | emit_copy_logical_type (uint32_t lhs_id, uint32_t lhs_type_id, uint32_t rhs_id, uint32_t rhs_type_id, SmallVector< uint32_t > chain) |
| |
| void | emit_copy_logical_type (uint32_t lhs_id, uint32_t lhs_type_id, uint32_t rhs_id, uint32_t rhs_type_id, SmallVector< uint32_t > chain) |
| |
| template<typename T > |
| void | statement_inner (T &&t) |
| |
| template<typename T , typename... Ts> |
| void | statement_inner (T &&t, Ts &&... ts) |
| |
| template<typename T > |
| void | statement_inner (T &&t) |
| |
| template<typename T , typename... Ts> |
| void | statement_inner (T &&t, Ts &&... ts) |
| |
| template<typename T > |
| void | statement_inner (T &&t) |
| |
| template<typename T , typename... Ts> |
| void | statement_inner (T &&t, Ts &&... ts) |
| |
| template<typename... Ts> |
| void | statement (Ts &&... ts) |
| |
| template<typename... Ts> |
| void | statement (Ts &&... ts) |
| |
| template<typename... Ts> |
| void | statement (Ts &&... ts) |
| |
| template<typename... Ts> |
| void | statement_no_indent (Ts &&... ts) |
| |
| template<typename... Ts> |
| void | statement_no_indent (Ts &&... ts) |
| |
| template<typename... Ts> |
| void | statement_no_indent (Ts &&... ts) |
| |
| void | begin_scope () |
| |
| void | begin_scope () |
| |
| void | begin_scope () |
| |
| void | end_scope () |
| |
| void | end_scope (const std::string &trailer) |
| |
| void | end_scope () |
| |
| void | end_scope (const std::string &trailer) |
| |
| void | end_scope () |
| |
| void | end_scope (const std::string &trailer) |
| |
| void | end_scope_decl () |
| |
| void | end_scope_decl (const std::string &decl) |
| |
| void | end_scope_decl () |
| |
| void | end_scope_decl (const std::string &decl) |
| |
| void | end_scope_decl () |
| |
| void | end_scope_decl (const std::string &decl) |
| |
| std::string | to_array_size (const SPIRType &type, uint32_t index) |
| |
| std::string | to_array_size (const SPIRType &type, uint32_t index) |
| |
| std::string | to_array_size (const SPIRType &type, uint32_t index) |
| |
| uint32_t | to_array_size_literal (const SPIRType &type, uint32_t index) const |
| |
| uint32_t | to_array_size_literal (const SPIRType &type) const |
| |
| uint32_t | to_array_size_literal (const SPIRType &type, uint32_t index) const |
| |
| uint32_t | to_array_size_literal (const SPIRType &type) const |
| |
| uint32_t | to_array_size_literal (const SPIRType &type, uint32_t index) const |
| |
| uint32_t | to_array_size_literal (const SPIRType &type) const |
| |
| std::string | variable_decl_function_local (SPIRVariable &variable) |
| |
| std::string | variable_decl_function_local (SPIRVariable &variable) |
| |
| std::string | variable_decl_function_local (SPIRVariable &variable) |
| |
| void | add_local_variable_name (uint32_t id) |
| |
| void | add_local_variable_name (uint32_t id) |
| |
| void | add_local_variable_name (uint32_t id) |
| |
| void | add_resource_name (uint32_t id) |
| |
| void | add_resource_name (uint32_t id) |
| |
| void | add_resource_name (uint32_t id) |
| |
| void | add_member_name (SPIRType &type, uint32_t name) |
| |
| void | add_member_name (SPIRType &type, uint32_t name) |
| |
| void | add_member_name (SPIRType &type, uint32_t name) |
| |
| void | add_function_overload (const SPIRFunction &func) |
| |
| void | add_function_overload (const SPIRFunction &func) |
| |
| void | add_function_overload (const SPIRFunction &func) |
| |
| bool | member_is_remapped_physical_type (const SPIRType &type, uint32_t index) const |
| |
| bool | member_is_remapped_physical_type (const SPIRType &type, uint32_t index) const |
| |
| bool | member_is_remapped_physical_type (const SPIRType &type, uint32_t index) const |
| |
| bool | member_is_packed_physical_type (const SPIRType &type, uint32_t index) const |
| |
| bool | member_is_packed_physical_type (const SPIRType &type, uint32_t index) const |
| |
| bool | member_is_packed_physical_type (const SPIRType &type, uint32_t index) const |
| |
| void | preserve_alias_on_reset (uint32_t id) |
| |
| void | preserve_alias_on_reset (uint32_t id) |
| |
| void | preserve_alias_on_reset (uint32_t id) |
| |
| void | reset_name_caches () |
| |
| void | reset_name_caches () |
| |
| void | reset_name_caches () |
| |
| void | emit_struct (SPIRType &type) |
| |
| void | emit_struct (SPIRType &type) |
| |
| void | emit_struct (SPIRType &type) |
| |
| void | emit_extension_workarounds (spv::ExecutionModel model) |
| |
| void | emit_extension_workarounds (spv::ExecutionModel model) |
| |
| void | emit_extension_workarounds (spv::ExecutionModel model) |
| |
| void | emit_buffer_block_native (const SPIRVariable &var) |
| |
| void | emit_buffer_block_native (const SPIRVariable &var) |
| |
| void | emit_buffer_block_native (const SPIRVariable &var) |
| |
| void | emit_buffer_reference_block (SPIRType &type, bool forward_declaration) |
| |
| void | emit_buffer_reference_block (SPIRType &type, bool forward_declaration) |
| |
| void | emit_buffer_reference_block (SPIRType &type, bool forward_declaration) |
| |
| void | emit_buffer_block_legacy (const SPIRVariable &var) |
| |
| void | emit_buffer_block_legacy (const SPIRVariable &var) |
| |
| void | emit_buffer_block_legacy (const SPIRVariable &var) |
| |
| void | emit_buffer_block_flattened (const SPIRVariable &type) |
| |
| void | emit_buffer_block_flattened (const SPIRVariable &type) |
| |
| void | emit_buffer_block_flattened (const SPIRVariable &type) |
| |
| void | fixup_implicit_builtin_block_names () |
| |
| void | fixup_implicit_builtin_block_names () |
| |
| void | fixup_implicit_builtin_block_names () |
| |
| void | emit_declared_builtin_block (spv::StorageClass storage, spv::ExecutionModel model) |
| |
| void | emit_declared_builtin_block (spv::StorageClass storage, spv::ExecutionModel model) |
| |
| void | emit_declared_builtin_block (spv::StorageClass storage, spv::ExecutionModel model) |
| |
| bool | should_force_emit_builtin_block (spv::StorageClass storage) |
| |
| bool | should_force_emit_builtin_block (spv::StorageClass storage) |
| |
| bool | should_force_emit_builtin_block (spv::StorageClass storage) |
| |
| void | emit_push_constant_block_vulkan (const SPIRVariable &var) |
| |
| void | emit_push_constant_block_vulkan (const SPIRVariable &var) |
| |
| void | emit_push_constant_block_vulkan (const SPIRVariable &var) |
| |
| void | emit_push_constant_block_glsl (const SPIRVariable &var) |
| |
| void | emit_push_constant_block_glsl (const SPIRVariable &var) |
| |
| void | emit_push_constant_block_glsl (const SPIRVariable &var) |
| |
| void | emit_interface_block (const SPIRVariable &type) |
| |
| void | emit_flattened_io_block (const SPIRVariable &var, const char *qual) |
| |
| void | emit_flattened_io_block (const SPIRVariable &var, const char *qual) |
| |
| void | emit_flattened_io_block (const SPIRVariable &var, const char *qual) |
| |
| void | emit_flattened_io_block_struct (const std::string &basename, const SPIRType &type, const char *qual, const SmallVector< uint32_t > &indices) |
| |
| void | emit_flattened_io_block_struct (const std::string &basename, const SPIRType &type, const char *qual, const SmallVector< uint32_t > &indices) |
| |
| void | emit_flattened_io_block_struct (const std::string &basename, const SPIRType &type, const char *qual, const SmallVector< uint32_t > &indices) |
| |
| void | emit_flattened_io_block_member (const std::string &basename, const SPIRType &type, const char *qual, const SmallVector< uint32_t > &indices) |
| |
| void | emit_flattened_io_block_member (const std::string &basename, const SPIRType &type, const char *qual, const SmallVector< uint32_t > &indices) |
| |
| void | emit_flattened_io_block_member (const std::string &basename, const SPIRType &type, const char *qual, const SmallVector< uint32_t > &indices) |
| |
| void | emit_block_chain (SPIRBlock &block) |
| |
| void | emit_block_chain (SPIRBlock &block) |
| |
| void | emit_block_chain (SPIRBlock &block) |
| |
| void | emit_hoisted_temporaries (SmallVector< std::pair< TypeID, ID > > &temporaries) |
| |
| void | emit_hoisted_temporaries (SmallVector< std::pair< TypeID, ID > > &temporaries) |
| |
| void | emit_hoisted_temporaries (SmallVector< std::pair< TypeID, ID > > &temporaries) |
| |
| std::string | constant_value_macro_name (uint32_t id) |
| |
| std::string | constant_value_macro_name (uint32_t id) |
| |
| std::string | constant_value_macro_name (uint32_t id) |
| |
| void | emit_constant (const SPIRConstant &constant) |
| |
| void | emit_constant (const SPIRConstant &constant) |
| |
| void | emit_constant (const SPIRConstant &constant) |
| |
| void | emit_specialization_constant_op (const SPIRConstantOp &constant) |
| |
| void | emit_specialization_constant_op (const SPIRConstantOp &constant) |
| |
| void | emit_specialization_constant_op (const SPIRConstantOp &constant) |
| |
| std::string | emit_continue_block (uint32_t continue_block, bool follow_true_block, bool follow_false_block) |
| |
| std::string | emit_continue_block (uint32_t continue_block, bool follow_true_block, bool follow_false_block) |
| |
| std::string | emit_continue_block (uint32_t continue_block, bool follow_true_block, bool follow_false_block) |
| |
| bool | attempt_emit_loop_header (SPIRBlock &block, SPIRBlock::Method method) |
| |
| bool | attempt_emit_loop_header (SPIRBlock &block, SPIRBlock::Method method) |
| |
| bool | attempt_emit_loop_header (SPIRBlock &block, SPIRBlock::Method method) |
| |
| void | branch (BlockID from, BlockID to) |
| |
| void | branch (BlockID from, uint32_t cond, BlockID true_block, BlockID false_block) |
| |
| void | branch (BlockID from, BlockID to) |
| |
| void | branch (BlockID from, uint32_t cond, BlockID true_block, BlockID false_block) |
| |
| void | branch (BlockID from, BlockID to) |
| |
| void | branch (BlockID from, uint32_t cond, BlockID true_block, BlockID false_block) |
| |
| void | branch_to_continue (BlockID from, BlockID to) |
| |
| void | branch_to_continue (BlockID from, BlockID to) |
| |
| void | branch_to_continue (BlockID from, BlockID to) |
| |
| void | flush_phi (BlockID from, BlockID to) |
| |
| void | flush_phi (BlockID from, BlockID to) |
| |
| void | flush_phi (BlockID from, BlockID to) |
| |
| void | flush_variable_declaration (uint32_t id) |
| |
| void | flush_variable_declaration (uint32_t id) |
| |
| void | flush_variable_declaration (uint32_t id) |
| |
| void | flush_undeclared_variables (SPIRBlock &block) |
| |
| void | flush_undeclared_variables (SPIRBlock &block) |
| |
| void | flush_undeclared_variables (SPIRBlock &block) |
| |
| void | emit_variable_temporary_copies (const SPIRVariable &var) |
| |
| void | emit_variable_temporary_copies (const SPIRVariable &var) |
| |
| void | emit_variable_temporary_copies (const SPIRVariable &var) |
| |
| bool | should_dereference (uint32_t id) |
| |
| bool | should_dereference (uint32_t id) |
| |
| bool | should_dereference (uint32_t id) |
| |
| bool | should_forward (uint32_t id) const |
| |
| bool | should_forward (uint32_t id) const |
| |
| bool | should_forward (uint32_t id) const |
| |
| bool | should_suppress_usage_tracking (uint32_t id) const |
| |
| bool | should_suppress_usage_tracking (uint32_t id) const |
| |
| bool | should_suppress_usage_tracking (uint32_t id) const |
| |
| void | emit_mix_op (uint32_t result_type, uint32_t id, uint32_t left, uint32_t right, uint32_t lerp) |
| |
| void | emit_mix_op (uint32_t result_type, uint32_t id, uint32_t left, uint32_t right, uint32_t lerp) |
| |
| void | emit_mix_op (uint32_t result_type, uint32_t id, uint32_t left, uint32_t right, uint32_t lerp) |
| |
| void | emit_nminmax_op (uint32_t result_type, uint32_t id, uint32_t op0, uint32_t op1, GLSLstd450 op) |
| |
| void | emit_nminmax_op (uint32_t result_type, uint32_t id, uint32_t op0, uint32_t op1, GLSLstd450 op) |
| |
| void | emit_nminmax_op (uint32_t result_type, uint32_t id, uint32_t op0, uint32_t op1, GLSLstd450 op) |
| |
| bool | to_trivial_mix_op (const SPIRType &type, std::string &op, uint32_t left, uint32_t right, uint32_t lerp) |
| |
| bool | to_trivial_mix_op (const SPIRType &type, std::string &op, uint32_t left, uint32_t right, uint32_t lerp) |
| |
| bool | to_trivial_mix_op (const SPIRType &type, std::string &op, uint32_t left, uint32_t right, uint32_t lerp) |
| |
| void | emit_quaternary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, uint32_t op3, const char *op) |
| |
| void | emit_quaternary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, uint32_t op3, const char *op) |
| |
| void | emit_quaternary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, uint32_t op3, const char *op) |
| |
| void | emit_trinary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op) |
| |
| void | emit_trinary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op) |
| |
| void | emit_trinary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op) |
| |
| void | emit_binary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_binary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_binary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_unary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op, SPIRType::BaseType input_type, SPIRType::BaseType expected_result_type) |
| |
| void | emit_unary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op, SPIRType::BaseType input_type, SPIRType::BaseType expected_result_type) |
| |
| void | emit_unary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op, SPIRType::BaseType input_type, SPIRType::BaseType expected_result_type) |
| |
| void | emit_binary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type, bool skip_cast_if_equal_type) |
| |
| void | emit_binary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type, bool skip_cast_if_equal_type) |
| |
| void | emit_binary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type, bool skip_cast_if_equal_type) |
| |
| void | emit_binary_func_op_cast_clustered (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type) |
| |
| void | emit_binary_func_op_cast_clustered (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type) |
| |
| void | emit_binary_func_op_cast_clustered (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type) |
| |
| void | emit_trinary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op, SPIRType::BaseType input_type) |
| |
| void | emit_trinary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op, SPIRType::BaseType input_type) |
| |
| void | emit_trinary_func_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op, SPIRType::BaseType input_type) |
| |
| void | emit_trinary_func_op_bitextract (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op, SPIRType::BaseType expected_result_type, SPIRType::BaseType input_type0, SPIRType::BaseType input_type1, SPIRType::BaseType input_type2) |
| |
| void | emit_trinary_func_op_bitextract (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op, SPIRType::BaseType expected_result_type, SPIRType::BaseType input_type0, SPIRType::BaseType input_type1, SPIRType::BaseType input_type2) |
| |
| void | emit_trinary_func_op_bitextract (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, const char *op, SPIRType::BaseType expected_result_type, SPIRType::BaseType input_type0, SPIRType::BaseType input_type1, SPIRType::BaseType input_type2) |
| |
| void | emit_bitfield_insert_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, uint32_t op3, const char *op, SPIRType::BaseType offset_count_type) |
| |
| void | emit_bitfield_insert_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, uint32_t op3, const char *op, SPIRType::BaseType offset_count_type) |
| |
| void | emit_bitfield_insert_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, uint32_t op2, uint32_t op3, const char *op, SPIRType::BaseType offset_count_type) |
| |
| void | emit_unary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op) |
| |
| void | emit_unary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op) |
| |
| void | emit_unary_func_op (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op) |
| |
| void | emit_unrolled_unary_op (uint32_t result_type, uint32_t result_id, uint32_t operand, const char *op) |
| |
| void | emit_unrolled_unary_op (uint32_t result_type, uint32_t result_id, uint32_t operand, const char *op) |
| |
| void | emit_unrolled_unary_op (uint32_t result_type, uint32_t result_id, uint32_t operand, const char *op) |
| |
| void | emit_binary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_binary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_binary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op) |
| |
| void | emit_unrolled_binary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, bool negate, SPIRType::BaseType expected_type) |
| |
| void | emit_unrolled_binary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, bool negate, SPIRType::BaseType expected_type) |
| |
| void | emit_unrolled_binary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, bool negate, SPIRType::BaseType expected_type) |
| |
| void | emit_binary_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type, bool skip_cast_if_equal_type) |
| |
| void | emit_binary_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type, bool skip_cast_if_equal_type) |
| |
| void | emit_binary_op_cast (uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1, const char *op, SPIRType::BaseType input_type, bool skip_cast_if_equal_type) |
| |
| SPIRType | binary_op_bitcast_helper (std::string &cast_op0, std::string &cast_op1, SPIRType::BaseType &input_type, uint32_t op0, uint32_t op1, bool skip_cast_if_equal_type) |
| |
| SPIRType | binary_op_bitcast_helper (std::string &cast_op0, std::string &cast_op1, SPIRType::BaseType &input_type, uint32_t op0, uint32_t op1, bool skip_cast_if_equal_type) |
| |
| SPIRType | binary_op_bitcast_helper (std::string &cast_op0, std::string &cast_op1, SPIRType::BaseType &input_type, uint32_t op0, uint32_t op1, bool skip_cast_if_equal_type) |
| |
| std::string | to_ternary_expression (const SPIRType &result_type, uint32_t select, uint32_t true_value, uint32_t false_value) |
| |
| std::string | to_ternary_expression (const SPIRType &result_type, uint32_t select, uint32_t true_value, uint32_t false_value) |
| |
| std::string | to_ternary_expression (const SPIRType &result_type, uint32_t select, uint32_t true_value, uint32_t false_value) |
| |
| void | emit_unary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op) |
| |
| void | emit_unary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op) |
| |
| void | emit_unary_op (uint32_t result_type, uint32_t result_id, uint32_t op0, const char *op) |
| |
| bool | expression_is_forwarded (uint32_t id) const |
| |
| bool | expression_is_forwarded (uint32_t id) const |
| |
| bool | expression_is_forwarded (uint32_t id) const |
| |
| bool | expression_suppresses_usage_tracking (uint32_t id) const |
| |
| bool | expression_suppresses_usage_tracking (uint32_t id) const |
| |
| bool | expression_suppresses_usage_tracking (uint32_t id) const |
| |
| bool | expression_read_implies_multiple_reads (uint32_t id) const |
| |
| bool | expression_read_implies_multiple_reads (uint32_t id) const |
| |
| bool | expression_read_implies_multiple_reads (uint32_t id) const |
| |
| SPIRExpression & | emit_op (uint32_t result_type, uint32_t result_id, const std::string &rhs, bool forward_rhs, bool suppress_usage_tracking=false) |
| |
| SPIRExpression & | emit_op (uint32_t result_type, uint32_t result_id, const std::string &rhs, bool forward_rhs, bool suppress_usage_tracking=false) |
| |
| SPIRExpression & | emit_op (uint32_t result_type, uint32_t result_id, const std::string &rhs, bool forward_rhs, bool suppress_usage_tracking=false) |
| |
| void | access_chain_internal_append_index (std::string &expr, uint32_t base, const SPIRType *type, AccessChainFlags flags, bool &access_chain_is_arrayed, uint32_t index) |
| |
| void | access_chain_internal_append_index (std::string &expr, uint32_t base, const SPIRType *type, AccessChainFlags flags, bool &access_chain_is_arrayed, uint32_t index) |
| |
| void | access_chain_internal_append_index (std::string &expr, uint32_t base, const SPIRType *type, AccessChainFlags flags, bool &access_chain_is_arrayed, uint32_t index) |
| |
| std::string | access_chain_internal (uint32_t base, const uint32_t *indices, uint32_t count, AccessChainFlags flags, AccessChainMeta *meta) |
| |
| std::string | access_chain_internal (uint32_t base, const uint32_t *indices, uint32_t count, AccessChainFlags flags, AccessChainMeta *meta) |
| |
| std::string | access_chain_internal (uint32_t base, const uint32_t *indices, uint32_t count, AccessChainFlags flags, AccessChainMeta *meta) |
| |
| std::string | access_chain (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, AccessChainMeta *meta=nullptr, bool ptr_chain=false) |
| |
| std::string | access_chain (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, AccessChainMeta *meta=nullptr, bool ptr_chain=false) |
| |
| std::string | access_chain (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, AccessChainMeta *meta=nullptr, bool ptr_chain=false) |
| |
| std::string | flattened_access_chain (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, uint32_t array_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, uint32_t array_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, uint32_t array_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain_struct (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset) |
| |
| std::string | flattened_access_chain_struct (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset) |
| |
| std::string | flattened_access_chain_struct (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset) |
| |
| std::string | flattened_access_chain_matrix (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain_matrix (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain_matrix (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain_vector (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain_vector (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, bool need_transpose) |
| |
| std::string | flattened_access_chain_vector (uint32_t base, const uint32_t *indices, uint32_t count, const SPIRType &target_type, uint32_t offset, uint32_t matrix_stride, bool need_transpose) |
| |
| std::pair< std::string, uint32_t > | flattened_access_chain_offset (const SPIRType &basetype, const uint32_t *indices, uint32_t count, uint32_t offset, uint32_t word_stride, bool *need_transpose=nullptr, uint32_t *matrix_stride=nullptr, uint32_t *array_stride=nullptr, bool ptr_chain=false) |
| |
| std::pair< std::string, uint32_t > | flattened_access_chain_offset (const SPIRType &basetype, const uint32_t *indices, uint32_t count, uint32_t offset, uint32_t word_stride, bool *need_transpose=nullptr, uint32_t *matrix_stride=nullptr, uint32_t *array_stride=nullptr, bool ptr_chain=false) |
| |
| std::pair< std::string, uint32_t > | flattened_access_chain_offset (const SPIRType &basetype, const uint32_t *indices, uint32_t count, uint32_t offset, uint32_t word_stride, bool *need_transpose=nullptr, uint32_t *matrix_stride=nullptr, uint32_t *array_stride=nullptr, bool ptr_chain=false) |
| |
| const char * | index_to_swizzle (uint32_t index) |
| |
| const char * | index_to_swizzle (uint32_t index) |
| |
| const char * | index_to_swizzle (uint32_t index) |
| |
| std::string | remap_swizzle (const SPIRType &result_type, uint32_t input_components, const std::string &expr) |
| |
| std::string | remap_swizzle (const SPIRType &result_type, uint32_t input_components, const std::string &expr) |
| |
| std::string | remap_swizzle (const SPIRType &result_type, uint32_t input_components, const std::string &expr) |
| |
| std::string | declare_temporary (uint32_t type, uint32_t id) |
| |
| std::string | declare_temporary (uint32_t type, uint32_t id) |
| |
| std::string | declare_temporary (uint32_t type, uint32_t id) |
| |
| void | emit_uninitialized_temporary (uint32_t type, uint32_t id) |
| |
| void | emit_uninitialized_temporary (uint32_t type, uint32_t id) |
| |
| void | emit_uninitialized_temporary (uint32_t type, uint32_t id) |
| |
| SPIRExpression & | emit_uninitialized_temporary_expression (uint32_t type, uint32_t id) |
| |
| SPIRExpression & | emit_uninitialized_temporary_expression (uint32_t type, uint32_t id) |
| |
| SPIRExpression & | emit_uninitialized_temporary_expression (uint32_t type, uint32_t id) |
| |
| void | append_global_func_args (const SPIRFunction &func, uint32_t index, SmallVector< std::string > &arglist) |
| |
| void | append_global_func_args (const SPIRFunction &func, uint32_t index, SmallVector< std::string > &arglist) |
| |
| void | append_global_func_args (const SPIRFunction &func, uint32_t index, SmallVector< std::string > &arglist) |
| |
| std::string | to_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_composite_constructor_expression (uint32_t id, bool uses_buffer_offset) |
| |
| std::string | to_composite_constructor_expression (uint32_t id, bool uses_buffer_offset) |
| |
| std::string | to_composite_constructor_expression (uint32_t id, bool uses_buffer_offset) |
| |
| std::string | to_rerolled_array_expression (const std::string &expr, const SPIRType &type) |
| |
| std::string | to_rerolled_array_expression (const std::string &expr, const SPIRType &type) |
| |
| std::string | to_rerolled_array_expression (const std::string &expr, const SPIRType &type) |
| |
| std::string | to_enclosed_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_enclosed_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_enclosed_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_unpacked_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_unpacked_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_unpacked_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_unpacked_row_major_matrix_expression (uint32_t id) |
| |
| std::string | to_unpacked_row_major_matrix_expression (uint32_t id) |
| |
| std::string | to_unpacked_row_major_matrix_expression (uint32_t id) |
| |
| std::string | to_enclosed_unpacked_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_enclosed_unpacked_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_enclosed_unpacked_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_dereferenced_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_dereferenced_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_dereferenced_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_pointer_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_pointer_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_pointer_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_enclosed_pointer_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_enclosed_pointer_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_enclosed_pointer_expression (uint32_t id, bool register_expression_read=true) |
| |
| std::string | to_extract_component_expression (uint32_t id, uint32_t index) |
| |
| std::string | to_extract_component_expression (uint32_t id, uint32_t index) |
| |
| std::string | to_extract_component_expression (uint32_t id, uint32_t index) |
| |
| std::string | enclose_expression (const std::string &expr) |
| |
| std::string | enclose_expression (const std::string &expr) |
| |
| std::string | enclose_expression (const std::string &expr) |
| |
| std::string | dereference_expression (const SPIRType &expression_type, const std::string &expr) |
| |
| std::string | dereference_expression (const SPIRType &expression_type, const std::string &expr) |
| |
| std::string | dereference_expression (const SPIRType &expression_type, const std::string &expr) |
| |
| std::string | address_of_expression (const std::string &expr) |
| |
| std::string | address_of_expression (const std::string &expr) |
| |
| std::string | address_of_expression (const std::string &expr) |
| |
| void | strip_enclosed_expression (std::string &expr) |
| |
| void | strip_enclosed_expression (std::string &expr) |
| |
| void | strip_enclosed_expression (std::string &expr) |
| |
| std::string | to_member_name (const SPIRType &type, uint32_t index) |
| |
| std::string | to_member_name (const SPIRType &type, uint32_t index) |
| |
| std::string | to_member_name (const SPIRType &type, uint32_t index) |
| |
| std::string | to_multi_member_reference (const SPIRType &type, const SmallVector< uint32_t > &indices) |
| |
| std::string | to_multi_member_reference (const SPIRType &type, const SmallVector< uint32_t > &indices) |
| |
| std::string | to_multi_member_reference (const SPIRType &type, const SmallVector< uint32_t > &indices) |
| |
| std::string | type_to_glsl_constructor (const SPIRType &type) |
| |
| std::string | type_to_glsl_constructor (const SPIRType &type) |
| |
| std::string | type_to_glsl_constructor (const SPIRType &type) |
| |
| void | fixup_io_block_patch_qualifiers (const SPIRVariable &var) |
| |
| void | fixup_io_block_patch_qualifiers (const SPIRVariable &var) |
| |
| void | fixup_io_block_patch_qualifiers (const SPIRVariable &var) |
| |
| void | emit_output_variable_initializer (const SPIRVariable &var) |
| |
| void | emit_output_variable_initializer (const SPIRVariable &var) |
| |
| void | emit_output_variable_initializer (const SPIRVariable &var) |
| |
| const char * | to_precision_qualifiers_glsl (uint32_t id) |
| |
| const char * | to_precision_qualifiers_glsl (uint32_t id) |
| |
| const char * | to_precision_qualifiers_glsl (uint32_t id) |
| |
| virtual const char * | to_storage_qualifiers_glsl (const SPIRVariable &var) |
| |
| virtual const char * | to_storage_qualifiers_glsl (const SPIRVariable &var) |
| |
| virtual const char * | to_storage_qualifiers_glsl (const SPIRVariable &var) |
| |
| const char * | flags_to_qualifiers_glsl (const SPIRType &type, const Bitset &flags) |
| |
| const char * | flags_to_qualifiers_glsl (const SPIRType &type, const Bitset &flags) |
| |
| const char * | flags_to_qualifiers_glsl (const SPIRType &type, const Bitset &flags) |
| |
| const char * | format_to_glsl (spv::ImageFormat format) |
| |
| const char * | format_to_glsl (spv::ImageFormat format) |
| |
| const char * | format_to_glsl (spv::ImageFormat format) |
| |
| virtual std::string | layout_for_member (const SPIRType &type, uint32_t index) |
| |
| virtual std::string | layout_for_member (const SPIRType &type, uint32_t index) |
| |
| virtual std::string | layout_for_member (const SPIRType &type, uint32_t index) |
| |
| virtual std::string | to_interpolation_qualifiers (const Bitset &flags) |
| |
| virtual std::string | to_interpolation_qualifiers (const Bitset &flags) |
| |
| virtual std::string | to_interpolation_qualifiers (const Bitset &flags) |
| |
| std::string | layout_for_variable (const SPIRVariable &variable) |
| |
| std::string | layout_for_variable (const SPIRVariable &variable) |
| |
| std::string | layout_for_variable (const SPIRVariable &variable) |
| |
| std::string | to_combined_image_sampler (VariableID image_id, VariableID samp_id) |
| |
| std::string | to_combined_image_sampler (VariableID image_id, VariableID samp_id) |
| |
| std::string | to_combined_image_sampler (VariableID image_id, VariableID samp_id) |
| |
| virtual void | emit_block_hints (const SPIRBlock &block) |
| |
| virtual void | emit_block_hints (const SPIRBlock &block) |
| |
| virtual void | emit_block_hints (const SPIRBlock &block) |
| |
| bool | type_can_zero_initialize (const SPIRType &type) const |
| |
| bool | type_can_zero_initialize (const SPIRType &type) const |
| |
| bool | type_can_zero_initialize (const SPIRType &type) const |
| |
| bool | buffer_is_packing_standard (const SPIRType &type, BufferPackingStandard packing, uint32_t *failed_index=nullptr, uint32_t start_offset=0, uint32_t end_offset=~(0u)) |
| |
| bool | buffer_is_packing_standard (const SPIRType &type, BufferPackingStandard packing, uint32_t *failed_index=nullptr, uint32_t start_offset=0, uint32_t end_offset=~(0u)) |
| |
| bool | buffer_is_packing_standard (const SPIRType &type, BufferPackingStandard packing, uint32_t *failed_index=nullptr, uint32_t start_offset=0, uint32_t end_offset=~(0u)) |
| |
| std::string | buffer_to_packing_standard (const SPIRType &type, bool support_std430_without_scalar_layout) |
| |
| std::string | buffer_to_packing_standard (const SPIRType &type, bool support_std430_without_scalar_layout) |
| |
| std::string | buffer_to_packing_standard (const SPIRType &type, bool support_std430_without_scalar_layout) |
| |
| uint32_t | type_to_packed_base_size (const SPIRType &type, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_base_size (const SPIRType &type, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_base_size (const SPIRType &type, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_alignment (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_alignment (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_alignment (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_array_stride (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_array_stride (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_array_stride (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_size (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_size (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| uint32_t | type_to_packed_size (const SPIRType &type, const Bitset &flags, BufferPackingStandard packing) |
| |
| std::string | bitcast_glsl (const SPIRType &result_type, uint32_t arg) |
| |
| std::string | bitcast_glsl (const SPIRType &result_type, uint32_t arg) |
| |
| std::string | bitcast_glsl (const SPIRType &result_type, uint32_t arg) |
| |
| std::string | bitcast_expression (SPIRType::BaseType target_type, uint32_t arg) |
| |
| std::string | bitcast_expression (const SPIRType &target_type, SPIRType::BaseType expr_type, const std::string &expr) |
| |
| std::string | bitcast_expression (SPIRType::BaseType target_type, uint32_t arg) |
| |
| std::string | bitcast_expression (const SPIRType &target_type, SPIRType::BaseType expr_type, const std::string &expr) |
| |
| std::string | bitcast_expression (SPIRType::BaseType target_type, uint32_t arg) |
| |
| std::string | bitcast_expression (const SPIRType &target_type, SPIRType::BaseType expr_type, const std::string &expr) |
| |
| std::string | build_composite_combiner (uint32_t result_type, const uint32_t *elems, uint32_t length) |
| |
| std::string | build_composite_combiner (uint32_t result_type, const uint32_t *elems, uint32_t length) |
| |
| std::string | build_composite_combiner (uint32_t result_type, const uint32_t *elems, uint32_t length) |
| |
| bool | remove_duplicate_swizzle (std::string &op) |
| |
| bool | remove_duplicate_swizzle (std::string &op) |
| |
| bool | remove_duplicate_swizzle (std::string &op) |
| |
| bool | remove_unity_swizzle (uint32_t base, std::string &op) |
| |
| bool | remove_unity_swizzle (uint32_t base, std::string &op) |
| |
| bool | remove_unity_swizzle (uint32_t base, std::string &op) |
| |
| bool | check_atomic_image (uint32_t id) |
| |
| bool | check_atomic_image (uint32_t id) |
| |
| bool | check_atomic_image (uint32_t id) |
| |
| void | replace_illegal_names (const std::unordered_set< std::string > &keywords) |
| |
| void | replace_fragment_output (SPIRVariable &var) |
| |
| void | replace_fragment_output (SPIRVariable &var) |
| |
| void | replace_fragment_output (SPIRVariable &var) |
| |
| void | replace_fragment_outputs () |
| |
| void | replace_fragment_outputs () |
| |
| void | replace_fragment_outputs () |
| |
| std::string | legacy_tex_op (const std::string &op, const SPIRType &imgtype, uint32_t id) |
| |
| std::string | legacy_tex_op (const std::string &op, const SPIRType &imgtype, uint32_t id) |
| |
| std::string | legacy_tex_op (const std::string &op, const SPIRType &imgtype, uint32_t id) |
| |
| std::string | load_flattened_struct (const std::string &basename, const SPIRType &type) |
| |
| std::string | load_flattened_struct (const std::string &basename, const SPIRType &type) |
| |
| std::string | load_flattened_struct (const std::string &basename, const SPIRType &type) |
| |
| std::string | to_flattened_struct_member (const std::string &basename, const SPIRType &type, uint32_t index) |
| |
| std::string | to_flattened_struct_member (const std::string &basename, const SPIRType &type, uint32_t index) |
| |
| std::string | to_flattened_struct_member (const std::string &basename, const SPIRType &type, uint32_t index) |
| |
| void | store_flattened_struct (uint32_t lhs_id, uint32_t value) |
| |
| void | store_flattened_struct (const std::string &basename, uint32_t rhs, const SPIRType &type, const SmallVector< uint32_t > &indices) |
| |
| void | store_flattened_struct (uint32_t lhs_id, uint32_t value) |
| |
| void | store_flattened_struct (const std::string &basename, uint32_t rhs, const SPIRType &type, const SmallVector< uint32_t > &indices) |
| |
| void | store_flattened_struct (uint32_t lhs_id, uint32_t value) |
| |
| void | store_flattened_struct (const std::string &basename, uint32_t rhs, const SPIRType &type, const SmallVector< uint32_t > &indices) |
| |
| std::string | to_flattened_access_chain_expression (uint32_t id) |
| |
| std::string | to_flattened_access_chain_expression (uint32_t id) |
| |
| std::string | to_flattened_access_chain_expression (uint32_t id) |
| |
| void | track_expression_read (uint32_t id) |
| |
| void | track_expression_read (uint32_t id) |
| |
| void | track_expression_read (uint32_t id) |
| |
| void | request_workaround_wrapper_overload (TypeID id) |
| |
| void | request_workaround_wrapper_overload (TypeID id) |
| |
| void | request_workaround_wrapper_overload (TypeID id) |
| |
| void | rewrite_load_for_wrapped_row_major (std::string &expr, TypeID loaded_type, ID ptr) |
| |
| void | rewrite_load_for_wrapped_row_major (std::string &expr, TypeID loaded_type, ID ptr) |
| |
| void | rewrite_load_for_wrapped_row_major (std::string &expr, TypeID loaded_type, ID ptr) |
| |
| bool | is_legacy () const |
| |
| bool | is_legacy () const |
| |
| bool | is_legacy () const |
| |
| bool | is_legacy_es () const |
| |
| bool | is_legacy_es () const |
| |
| bool | is_legacy_es () const |
| |
| bool | is_legacy_desktop () const |
| |
| bool | is_legacy_desktop () const |
| |
| bool | is_legacy_desktop () const |
| |
| void | ray_tracing_khr_fixup_locations () |
| |
| void | ray_tracing_khr_fixup_locations () |
| |
| void | ray_tracing_khr_fixup_locations () |
| |
| bool | args_will_forward (uint32_t id, const uint32_t *args, uint32_t num_args, bool pure) |
| |
| bool | args_will_forward (uint32_t id, const uint32_t *args, uint32_t num_args, bool pure) |
| |
| bool | args_will_forward (uint32_t id, const uint32_t *args, uint32_t num_args, bool pure) |
| |
| void | register_call_out_argument (uint32_t id) |
| |
| void | register_call_out_argument (uint32_t id) |
| |
| void | register_call_out_argument (uint32_t id) |
| |
| void | register_impure_function_call () |
| |
| void | register_impure_function_call () |
| |
| void | register_impure_function_call () |
| |
| void | register_control_dependent_expression (uint32_t expr) |
| |
| void | register_control_dependent_expression (uint32_t expr) |
| |
| void | register_control_dependent_expression (uint32_t expr) |
| |
| std::string | pls_decl (const PlsRemap &variable) |
| |
| std::string | pls_decl (const PlsRemap &variable) |
| |
| std::string | pls_decl (const PlsRemap &variable) |
| |
| const char * | to_pls_qualifiers_glsl (const SPIRVariable &variable) |
| |
| const char * | to_pls_qualifiers_glsl (const SPIRVariable &variable) |
| |
| const char * | to_pls_qualifiers_glsl (const SPIRVariable &variable) |
| |
| void | emit_pls () |
| |
| void | emit_pls () |
| |
| void | emit_pls () |
| |
| void | remap_pls_variables () |
| |
| void | remap_pls_variables () |
| |
| void | remap_pls_variables () |
| |
| bool | subpass_input_is_framebuffer_fetch (uint32_t id) const |
| |
| bool | subpass_input_is_framebuffer_fetch (uint32_t id) const |
| |
| bool | subpass_input_is_framebuffer_fetch (uint32_t id) const |
| |
| void | emit_inout_fragment_outputs_copy_to_subpass_inputs () |
| |
| void | emit_inout_fragment_outputs_copy_to_subpass_inputs () |
| |
| void | emit_inout_fragment_outputs_copy_to_subpass_inputs () |
| |
| const SPIRVariable * | find_subpass_input_by_attachment_index (uint32_t index) const |
| |
| const SPIRVariable * | find_subpass_input_by_attachment_index (uint32_t index) const |
| |
| const SPIRVariable * | find_subpass_input_by_attachment_index (uint32_t index) const |
| |
| const SPIRVariable * | find_color_output_by_location (uint32_t location) const |
| |
| const SPIRVariable * | find_color_output_by_location (uint32_t location) const |
| |
| const SPIRVariable * | find_color_output_by_location (uint32_t location) const |
| |
| void | add_variable (std::unordered_set< std::string > &variables_primary, const std::unordered_set< std::string > &variables_secondary, std::string &name) |
| |
| void | add_variable (std::unordered_set< std::string > &variables_primary, const std::unordered_set< std::string > &variables_secondary, std::string &name) |
| |
| void | add_variable (std::unordered_set< std::string > &variables_primary, const std::unordered_set< std::string > &variables_secondary, std::string &name) |
| |
| void | check_function_call_constraints (const uint32_t *args, uint32_t length) |
| |
| void | check_function_call_constraints (const uint32_t *args, uint32_t length) |
| |
| void | check_function_call_constraints (const uint32_t *args, uint32_t length) |
| |
| void | handle_invalid_expression (uint32_t id) |
| |
| void | handle_invalid_expression (uint32_t id) |
| |
| void | handle_invalid_expression (uint32_t id) |
| |
| void | find_static_extensions () |
| |
| void | find_static_extensions () |
| |
| void | find_static_extensions () |
| |
| std::string | emit_for_loop_initializers (const SPIRBlock &block) |
| |
| std::string | emit_for_loop_initializers (const SPIRBlock &block) |
| |
| std::string | emit_for_loop_initializers (const SPIRBlock &block) |
| |
| void | emit_while_loop_initializers (const SPIRBlock &block) |
| |
| void | emit_while_loop_initializers (const SPIRBlock &block) |
| |
| void | emit_while_loop_initializers (const SPIRBlock &block) |
| |
| bool | for_loop_initializers_are_same_type (const SPIRBlock &block) |
| |
| bool | for_loop_initializers_are_same_type (const SPIRBlock &block) |
| |
| bool | for_loop_initializers_are_same_type (const SPIRBlock &block) |
| |
| bool | optimize_read_modify_write (const SPIRType &type, const std::string &lhs, const std::string &rhs) |
| |
| bool | optimize_read_modify_write (const SPIRType &type, const std::string &lhs, const std::string &rhs) |
| |
| bool | optimize_read_modify_write (const SPIRType &type, const std::string &lhs, const std::string &rhs) |
| |
| void | fixup_image_load_store_access () |
| |
| void | fixup_image_load_store_access () |
| |
| void | fixup_image_load_store_access () |
| |
| bool | type_is_empty (const SPIRType &type) |
| |
| bool | type_is_empty (const SPIRType &type) |
| |
| bool | type_is_empty (const SPIRType &type) |
| |
| bool | can_use_io_location (spv::StorageClass storage, bool block) |
| |
| bool | can_use_io_location (spv::StorageClass storage, bool block) |
| |
| bool | can_use_io_location (spv::StorageClass storage, bool block) |
| |
| const Instruction * | get_next_instruction_in_block (const Instruction &instr) |
| |
| const Instruction * | get_next_instruction_in_block (const Instruction &instr) |
| |
| const Instruction * | get_next_instruction_in_block (const Instruction &instr) |
| |
| std::string | convert_half_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_half_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_half_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_float_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_float_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_float_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_double_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_double_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_double_to_string (const SPIRConstant &value, uint32_t col, uint32_t row) |
| |
| std::string | convert_separate_image_to_expression (uint32_t id) |
| |
| std::string | convert_separate_image_to_expression (uint32_t id) |
| |
| std::string | convert_separate_image_to_expression (uint32_t id) |
| |
| void | unroll_array_from_complex_load (uint32_t target_id, uint32_t source_id, std::string &expr) |
| |
| void | unroll_array_from_complex_load (uint32_t target_id, uint32_t source_id, std::string &expr) |
| |
| void | unroll_array_from_complex_load (uint32_t target_id, uint32_t source_id, std::string &expr) |
| |
| void | convert_non_uniform_expression (const SPIRType &type, std::string &expr) |
| |
| void | convert_non_uniform_expression (const SPIRType &type, std::string &expr) |
| |
| void | convert_non_uniform_expression (const SPIRType &type, std::string &expr) |
| |
| void | handle_store_to_invariant_variable (uint32_t store_id, uint32_t value_id) |
| |
| void | handle_store_to_invariant_variable (uint32_t store_id, uint32_t value_id) |
| |
| void | handle_store_to_invariant_variable (uint32_t store_id, uint32_t value_id) |
| |
| void | disallow_forwarding_in_expression_chain (const SPIRExpression &expr) |
| |
| void | disallow_forwarding_in_expression_chain (const SPIRExpression &expr) |
| |
| void | disallow_forwarding_in_expression_chain (const SPIRExpression &expr) |
| |
| bool | expression_is_constant_null (uint32_t id) const |
| |
| bool | expression_is_constant_null (uint32_t id) const |
| |
| bool | expression_is_constant_null (uint32_t id) const |
| |
| bool | expression_is_non_value_type_array (uint32_t ptr) |
| |
| bool | expression_is_non_value_type_array (uint32_t ptr) |
| |
| bool | expression_is_non_value_type_array (uint32_t ptr) |
| |
| uint32_t | get_integer_width_for_instruction (const Instruction &instr) const |
| |
| uint32_t | get_integer_width_for_instruction (const Instruction &instr) const |
| |
| uint32_t | get_integer_width_for_instruction (const Instruction &instr) const |
| |
| uint32_t | get_integer_width_for_glsl_instruction (GLSLstd450 op, const uint32_t *arguments, uint32_t length) const |
| |
| uint32_t | get_integer_width_for_glsl_instruction (GLSLstd450 op, const uint32_t *arguments, uint32_t length) const |
| |
| uint32_t | get_integer_width_for_glsl_instruction (GLSLstd450 op, const uint32_t *arguments, uint32_t length) const |
| |
| bool | variable_is_lut (const SPIRVariable &var) const |
| |
| bool | variable_is_lut (const SPIRVariable &var) const |
| |
| bool | variable_is_lut (const SPIRVariable &var) const |
| |
| void | fixup_type_alias () |
| |
| void | fixup_type_alias () |
| |
| void | fixup_type_alias () |
| |
| void | reorder_type_alias () |
| |
| void | reorder_type_alias () |
| |
| void | reorder_type_alias () |
| |
| void | propagate_nonuniform_qualifier (uint32_t id) |
| |
| void | propagate_nonuniform_qualifier (uint32_t id) |
| |
| void | propagate_nonuniform_qualifier (uint32_t id) |
| |
| ShaderResources | get_shader_resources (const std::unordered_set< VariableID > *active_variables) const |
| |
| ShaderResources | get_shader_resources (const std::unordered_set< VariableID > *active_variables) const |
| |
| ShaderResources | get_shader_resources (const std::unordered_set< VariableID > *active_variables) const |
| |
| const SPIREntryPoint & | get_entry_point () const |
| |
| SPIREntryPoint & | get_entry_point () |
| |
| const SPIREntryPoint & | get_entry_point () const |
| |
| SPIREntryPoint & | get_entry_point () |
| |
| const SPIREntryPoint & | get_entry_point () const |
| |
| SPIREntryPoint & | get_entry_point () |
| |
| std::string | get_remapped_declared_block_name (uint32_t id, bool fallback_prefer_instance_name) const |
| |
| std::string | get_remapped_declared_block_name (uint32_t id, bool fallback_prefer_instance_name) const |
| |
| std::string | get_remapped_declared_block_name (uint32_t id, bool fallback_prefer_instance_name) const |
| |
| const uint32_t * | stream (const Instruction &instr) const |
| |
| const uint32_t * | stream (const Instruction &instr) const |
| |
| const uint32_t * | stream (const Instruction &instr) const |
| |
| void | add_loop_level () |
| |
| void | add_loop_level () |
| |
| void | add_loop_level () |
| |
| void | set_initializers (SPIRExpression &e) |
| |
| template<typename T > |
| void | set_initializers (const T &) |
| |
| void | set_initializers (SPIRExpression &e) |
| |
| template<typename T > |
| void | set_initializers (const T &) |
| |
| void | set_initializers (SPIRExpression &e) |
| |
| template<typename T > |
| void | set_initializers (const T &) |
| |
| template<typename T , typename... P> |
| T & | set (uint32_t id, P &&... args) |
| |
| template<typename T , typename... P> |
| T & | set (uint32_t id, P &&... args) |
| |
| template<typename T , typename... P> |
| T & | set (uint32_t id, P &&... args) |
| |
| template<typename T > |
| T & | get (uint32_t id) |
| |
| template<typename T > |
| const T & | get (uint32_t id) const |
| |
| template<typename T > |
| T & | get (uint32_t id) |
| |
| template<typename T > |
| const T & | get (uint32_t id) const |
| |
| template<typename T > |
| T & | get (uint32_t id) |
| |
| template<typename T > |
| const T & | get (uint32_t id) const |
| |
| template<typename T > |
| T * | maybe_get (uint32_t id) |
| |
| template<typename T > |
| const T * | maybe_get (uint32_t id) const |
| |
| template<typename T > |
| T * | maybe_get (uint32_t id) |
| |
| template<typename T > |
| const T * | maybe_get (uint32_t id) const |
| |
| template<typename T > |
| T * | maybe_get (uint32_t id) |
| |
| template<typename T > |
| const T * | maybe_get (uint32_t id) const |
| |
| uint32_t | get_pointee_type_id (uint32_t type_id) const |
| |
| uint32_t | get_pointee_type_id (uint32_t type_id) const |
| |
| uint32_t | get_pointee_type_id (uint32_t type_id) const |
| |
| const SPIRType & | get_pointee_type (const SPIRType &type) const |
| |
| const SPIRType & | get_pointee_type (uint32_t type_id) const |
| |
| const SPIRType & | get_pointee_type (const SPIRType &type) const |
| |
| const SPIRType & | get_pointee_type (uint32_t type_id) const |
| |
| const SPIRType & | get_pointee_type (const SPIRType &type) const |
| |
| const SPIRType & | get_pointee_type (uint32_t type_id) const |
| |
| uint32_t | get_variable_data_type_id (const SPIRVariable &var) const |
| |
| uint32_t | get_variable_data_type_id (const SPIRVariable &var) const |
| |
| uint32_t | get_variable_data_type_id (const SPIRVariable &var) const |
| |
| SPIRType & | get_variable_data_type (const SPIRVariable &var) |
| |
| const SPIRType & | get_variable_data_type (const SPIRVariable &var) const |
| |
| SPIRType & | get_variable_data_type (const SPIRVariable &var) |
| |
| const SPIRType & | get_variable_data_type (const SPIRVariable &var) const |
| |
| SPIRType & | get_variable_data_type (const SPIRVariable &var) |
| |
| const SPIRType & | get_variable_data_type (const SPIRVariable &var) const |
| |
| SPIRType & | get_variable_element_type (const SPIRVariable &var) |
| |
| const SPIRType & | get_variable_element_type (const SPIRVariable &var) const |
| |
| SPIRType & | get_variable_element_type (const SPIRVariable &var) |
| |
| const SPIRType & | get_variable_element_type (const SPIRVariable &var) const |
| |
| SPIRType & | get_variable_element_type (const SPIRVariable &var) |
| |
| const SPIRType & | get_variable_element_type (const SPIRVariable &var) const |
| |
| void | set_member_qualified_name (uint32_t type_id, uint32_t index, const std::string &name) |
| |
| void | set_member_qualified_name (uint32_t type_id, uint32_t index, const std::string &name) |
| |
| void | set_member_qualified_name (uint32_t type_id, uint32_t index, const std::string &name) |
| |
| void | set_qualified_name (uint32_t id, const std::string &name) |
| |
| void | set_qualified_name (uint32_t id, const std::string &name) |
| |
| void | set_qualified_name (uint32_t id, const std::string &name) |
| |
| bool | is_sampled_image_type (const SPIRType &type) |
| |
| bool | is_sampled_image_type (const SPIRType &type) |
| |
| bool | is_sampled_image_type (const SPIRType &type) |
| |
| bool | is_builtin_variable (const SPIRVariable &var) const |
| |
| bool | is_builtin_variable (const SPIRVariable &var) const |
| |
| bool | is_builtin_variable (const SPIRVariable &var) const |
| |
| bool | is_builtin_type (const SPIRType &type) const |
| |
| bool | is_builtin_type (const SPIRType &type) const |
| |
| bool | is_builtin_type (const SPIRType &type) const |
| |
| bool | is_hidden_variable (const SPIRVariable &var, bool include_builtins=false) const |
| |
| bool | is_hidden_variable (const SPIRVariable &var, bool include_builtins=false) const |
| |
| bool | is_hidden_variable (const SPIRVariable &var, bool include_builtins=false) const |
| |
| bool | is_immutable (uint32_t id) const |
| |
| bool | is_immutable (uint32_t id) const |
| |
| bool | is_immutable (uint32_t id) const |
| |
| bool | is_member_builtin (const SPIRType &type, uint32_t index, spv::BuiltIn *builtin) const |
| |
| bool | is_member_builtin (const SPIRType &type, uint32_t index, spv::BuiltIn *builtin) const |
| |
| bool | is_member_builtin (const SPIRType &type, uint32_t index, spv::BuiltIn *builtin) const |
| |
| bool | is_scalar (const SPIRType &type) const |
| |
| bool | is_scalar (const SPIRType &type) const |
| |
| bool | is_scalar (const SPIRType &type) const |
| |
| bool | is_vector (const SPIRType &type) const |
| |
| bool | is_vector (const SPIRType &type) const |
| |
| bool | is_vector (const SPIRType &type) const |
| |
| bool | is_matrix (const SPIRType &type) const |
| |
| bool | is_matrix (const SPIRType &type) const |
| |
| bool | is_matrix (const SPIRType &type) const |
| |
| bool | is_array (const SPIRType &type) const |
| |
| bool | is_array (const SPIRType &type) const |
| |
| bool | is_array (const SPIRType &type) const |
| |
| uint32_t | expression_type_id (uint32_t id) const |
| |
| uint32_t | expression_type_id (uint32_t id) const |
| |
| uint32_t | expression_type_id (uint32_t id) const |
| |
| const SPIRType & | expression_type (uint32_t id) const |
| |
| const SPIRType & | expression_type (uint32_t id) const |
| |
| const SPIRType & | expression_type (uint32_t id) const |
| |
| bool | expression_is_lvalue (uint32_t id) const |
| |
| bool | expression_is_lvalue (uint32_t id) const |
| |
| bool | expression_is_lvalue (uint32_t id) const |
| |
| bool | variable_storage_is_aliased (const SPIRVariable &var) |
| |
| bool | variable_storage_is_aliased (const SPIRVariable &var) |
| |
| bool | variable_storage_is_aliased (const SPIRVariable &var) |
| |
| SPIRVariable * | maybe_get_backing_variable (uint32_t chain) |
| |
| SPIRVariable * | maybe_get_backing_variable (uint32_t chain) |
| |
| SPIRVariable * | maybe_get_backing_variable (uint32_t chain) |
| |
| spv::StorageClass | get_expression_effective_storage_class (uint32_t ptr) |
| |
| spv::StorageClass | get_expression_effective_storage_class (uint32_t ptr) |
| |
| spv::StorageClass | get_expression_effective_storage_class (uint32_t ptr) |
| |
| void | register_read (uint32_t expr, uint32_t chain, bool forwarded) |
| |
| void | register_read (uint32_t expr, uint32_t chain, bool forwarded) |
| |
| void | register_read (uint32_t expr, uint32_t chain, bool forwarded) |
| |
| void | register_write (uint32_t chain) |
| |
| void | register_write (uint32_t chain) |
| |
| void | register_write (uint32_t chain) |
| |
| bool | is_continue (uint32_t next) const |
| |
| bool | is_continue (uint32_t next) const |
| |
| bool | is_continue (uint32_t next) const |
| |
| bool | is_single_block_loop (uint32_t next) const |
| |
| bool | is_single_block_loop (uint32_t next) const |
| |
| bool | is_single_block_loop (uint32_t next) const |
| |
| bool | is_break (uint32_t next) const |
| |
| bool | is_break (uint32_t next) const |
| |
| bool | is_break (uint32_t next) const |
| |
| bool | is_loop_break (uint32_t next) const |
| |
| bool | is_loop_break (uint32_t next) const |
| |
| bool | is_loop_break (uint32_t next) const |
| |
| bool | is_conditional (uint32_t next) const |
| |
| bool | is_conditional (uint32_t next) const |
| |
| bool | is_conditional (uint32_t next) const |
| |
| void | flush_dependees (SPIRVariable &var) |
| |
| void | flush_dependees (SPIRVariable &var) |
| |
| void | flush_dependees (SPIRVariable &var) |
| |
| void | flush_all_active_variables () |
| |
| void | flush_all_active_variables () |
| |
| void | flush_all_active_variables () |
| |
| void | flush_control_dependent_expressions (uint32_t block) |
| |
| void | flush_control_dependent_expressions (uint32_t block) |
| |
| void | flush_control_dependent_expressions (uint32_t block) |
| |
| void | flush_all_atomic_capable_variables () |
| |
| void | flush_all_atomic_capable_variables () |
| |
| void | flush_all_atomic_capable_variables () |
| |
| void | flush_all_aliased_variables () |
| |
| void | flush_all_aliased_variables () |
| |
| void | flush_all_aliased_variables () |
| |
| void | register_global_read_dependencies (const SPIRBlock &func, uint32_t id) |
| |
| void | register_global_read_dependencies (const SPIRFunction &func, uint32_t id) |
| |
| void | register_global_read_dependencies (const SPIRBlock &func, uint32_t id) |
| |
| void | register_global_read_dependencies (const SPIRFunction &func, uint32_t id) |
| |
| void | register_global_read_dependencies (const SPIRBlock &func, uint32_t id) |
| |
| void | register_global_read_dependencies (const SPIRFunction &func, uint32_t id) |
| |
| void | update_name_cache (std::unordered_set< std::string > &cache, std::string &name) |
| |
| void | update_name_cache (std::unordered_set< std::string > &cache_primary, const std::unordered_set< std::string > &cache_secondary, std::string &name) |
| |
| void | update_name_cache (std::unordered_set< std::string > &cache, std::string &name) |
| |
| void | update_name_cache (std::unordered_set< std::string > &cache_primary, const std::unordered_set< std::string > &cache_secondary, std::string &name) |
| |
| void | update_name_cache (std::unordered_set< std::string > &cache, std::string &name) |
| |
| void | update_name_cache (std::unordered_set< std::string > &cache_primary, const std::unordered_set< std::string > &cache_secondary, std::string &name) |
| |
| bool | function_is_pure (const SPIRFunction &func) |
| |
| bool | function_is_pure (const SPIRFunction &func) |
| |
| bool | function_is_pure (const SPIRFunction &func) |
| |
| bool | block_is_pure (const SPIRBlock &block) |
| |
| bool | block_is_pure (const SPIRBlock &block) |
| |
| bool | block_is_pure (const SPIRBlock &block) |
| |
| bool | execution_is_branchless (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_branchless (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_branchless (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_direct_branch (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_direct_branch (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_direct_branch (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_noop (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_noop (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| bool | execution_is_noop (const SPIRBlock &from, const SPIRBlock &to) const |
| |
| SPIRBlock::ContinueBlockType | continue_block_type (const SPIRBlock &continue_block) const |
| |
| SPIRBlock::ContinueBlockType | continue_block_type (const SPIRBlock &continue_block) const |
| |
| SPIRBlock::ContinueBlockType | continue_block_type (const SPIRBlock &continue_block) const |
| |
| void | force_recompile () |
| |
| void | force_recompile () |
| |
| void | force_recompile () |
| |
| void | clear_force_recompile () |
| |
| void | clear_force_recompile () |
| |
| void | clear_force_recompile () |
| |
| bool | is_forcing_recompilation () const |
| |
| bool | is_forcing_recompilation () const |
| |
| bool | is_forcing_recompilation () const |
| |
| bool | block_is_loop_candidate (const SPIRBlock &block, SPIRBlock::Method method) const |
| |
| bool | block_is_loop_candidate (const SPIRBlock &block, SPIRBlock::Method method) const |
| |
| bool | block_is_loop_candidate (const SPIRBlock &block, SPIRBlock::Method method) const |
| |
| bool | types_are_logically_equivalent (const SPIRType &a, const SPIRType &b) const |
| |
| bool | types_are_logically_equivalent (const SPIRType &a, const SPIRType &b) const |
| |
| bool | types_are_logically_equivalent (const SPIRType &a, const SPIRType &b) const |
| |
| void | inherit_expression_dependencies (uint32_t dst, uint32_t source) |
| |
| void | inherit_expression_dependencies (uint32_t dst, uint32_t source) |
| |
| void | inherit_expression_dependencies (uint32_t dst, uint32_t source) |
| |
| void | add_implied_read_expression (SPIRExpression &e, uint32_t source) |
| |
| void | add_implied_read_expression (SPIRAccessChain &e, uint32_t source) |
| |
| void | add_implied_read_expression (SPIRExpression &e, uint32_t source) |
| |
| void | add_implied_read_expression (SPIRAccessChain &e, uint32_t source) |
| |
| void | add_implied_read_expression (SPIRExpression &e, uint32_t source) |
| |
| void | add_implied_read_expression (SPIRAccessChain &e, uint32_t source) |
| |
| bool | interface_variable_exists_in_entry_point (uint32_t id) const |
| |
| bool | interface_variable_exists_in_entry_point (uint32_t id) const |
| |
| bool | interface_variable_exists_in_entry_point (uint32_t id) const |
| |
| void | remap_variable_type_name (const SPIRType &type, const std::string &var_name, std::string &type_name) const |
| |
| void | remap_variable_type_name (const SPIRType &type, const std::string &var_name, std::string &type_name) const |
| |
| void | remap_variable_type_name (const SPIRType &type, const std::string &var_name, std::string &type_name) const |
| |
| void | set_ir (const ParsedIR &parsed) |
| |
| void | set_ir (ParsedIR &&parsed) |
| |
| void | set_ir (const ParsedIR &parsed) |
| |
| void | set_ir (ParsedIR &&parsed) |
| |
| void | set_ir (const ParsedIR &parsed) |
| |
| void | set_ir (ParsedIR &&parsed) |
| |
| void | parse_fixup () |
| |
| void | parse_fixup () |
| |
| void | parse_fixup () |
| |
| bool | traverse_all_reachable_opcodes (const SPIRBlock &block, OpcodeHandler &handler) const |
| |
| bool | traverse_all_reachable_opcodes (const SPIRFunction &block, OpcodeHandler &handler) const |
| |
| bool | traverse_all_reachable_opcodes (const SPIRBlock &block, OpcodeHandler &handler) const |
| |
| bool | traverse_all_reachable_opcodes (const SPIRFunction &block, OpcodeHandler &handler) const |
| |
| bool | traverse_all_reachable_opcodes (const SPIRBlock &block, OpcodeHandler &handler) const |
| |
| bool | traverse_all_reachable_opcodes (const SPIRFunction &block, OpcodeHandler &handler) const |
| |
| bool | get_common_basic_type (const SPIRType &type, SPIRType::BaseType &base_type) |
| |
| bool | get_common_basic_type (const SPIRType &type, SPIRType::BaseType &base_type) |
| |
| bool | get_common_basic_type (const SPIRType &type, SPIRType::BaseType &base_type) |
| |
| void | analyze_parameter_preservation (SPIRFunction &entry, const CFG &cfg, const std::unordered_map< uint32_t, std::unordered_set< uint32_t > > &variable_to_blocks, const std::unordered_map< uint32_t, std::unordered_set< uint32_t > > &complete_write_blocks) |
| |
| void | analyze_parameter_preservation (SPIRFunction &entry, const CFG &cfg, const std::unordered_map< uint32_t, std::unordered_set< uint32_t > > &variable_to_blocks, const std::unordered_map< uint32_t, std::unordered_set< uint32_t > > &complete_write_blocks) |
| |
| void | analyze_parameter_preservation (SPIRFunction &entry, const CFG &cfg, const std::unordered_map< uint32_t, std::unordered_set< uint32_t > > &variable_to_blocks, const std::unordered_map< uint32_t, std::unordered_set< uint32_t > > &complete_write_blocks) |
| |
| void | analyze_image_and_sampler_usage () |
| |
| void | analyze_image_and_sampler_usage () |
| |
| void | analyze_image_and_sampler_usage () |
| |
| void | build_function_control_flow_graphs_and_analyze () |
| |
| void | build_function_control_flow_graphs_and_analyze () |
| |
| void | build_function_control_flow_graphs_and_analyze () |
| |
| const CFG & | get_cfg_for_current_function () const |
| |
| const CFG & | get_cfg_for_current_function () const |
| |
| const CFG & | get_cfg_for_current_function () const |
| |
| const CFG & | get_cfg_for_function (uint32_t id) const |
| |
| const CFG & | get_cfg_for_function (uint32_t id) const |
| |
| const CFG & | get_cfg_for_function (uint32_t id) const |
| |
| void | analyze_non_block_pointer_types () |
| |
| void | analyze_non_block_pointer_types () |
| |
| void | analyze_non_block_pointer_types () |
| |
| void | analyze_variable_scope (SPIRFunction &function, AnalyzeVariableScopeAccessHandler &handler) |
| |
| void | analyze_variable_scope (SPIRFunction &function, AnalyzeVariableScopeAccessHandler &handler) |
| |
| void | analyze_variable_scope (SPIRFunction &function, AnalyzeVariableScopeAccessHandler &handler) |
| |
| void | find_function_local_luts (SPIRFunction &function, const AnalyzeVariableScopeAccessHandler &handler, bool single_function) |
| |
| void | find_function_local_luts (SPIRFunction &function, const AnalyzeVariableScopeAccessHandler &handler, bool single_function) |
| |
| void | find_function_local_luts (SPIRFunction &function, const AnalyzeVariableScopeAccessHandler &handler, bool single_function) |
| |
| bool | may_read_undefined_variable_in_block (const SPIRBlock &block, uint32_t var) |
| |
| bool | may_read_undefined_variable_in_block (const SPIRBlock &block, uint32_t var) |
| |
| bool | may_read_undefined_variable_in_block (const SPIRBlock &block, uint32_t var) |
| |
| void | analyze_interlocked_resource_usage () |
| |
| void | analyze_interlocked_resource_usage () |
| |
| void | analyze_interlocked_resource_usage () |
| |
| void | make_constant_null (uint32_t id, uint32_t type) |
| |
| void | make_constant_null (uint32_t id, uint32_t type) |
| |
| void | make_constant_null (uint32_t id, uint32_t type) |
| |
| bool | instruction_to_result_type (uint32_t &result_type, uint32_t &result_id, spv::Op op, const uint32_t *args, uint32_t length) |
| |
| bool | instruction_to_result_type (uint32_t &result_type, uint32_t &result_id, spv::Op op, const uint32_t *args, uint32_t length) |
| |
| bool | instruction_to_result_type (uint32_t &result_type, uint32_t &result_id, spv::Op op, const uint32_t *args, uint32_t length) |
| |
| Bitset | combined_decoration_for_member (const SPIRType &type, uint32_t index) const |
| |
| Bitset | combined_decoration_for_member (const SPIRType &type, uint32_t index) const |
| |
| Bitset | combined_decoration_for_member (const SPIRType &type, uint32_t index) const |
| |
| bool | image_is_comparison (const SPIRType &type, uint32_t id) const |
| |
| bool | image_is_comparison (const SPIRType &type, uint32_t id) const |
| |
| bool | image_is_comparison (const SPIRType &type, uint32_t id) const |
| |
| void | set_extended_decoration (uint32_t id, ExtendedDecorations decoration, uint32_t value=0) |
| |
| void | set_extended_decoration (uint32_t id, ExtendedDecorations decoration, uint32_t value=0) |
| |
| void | set_extended_decoration (uint32_t id, ExtendedDecorations decoration, uint32_t value=0) |
| |
| uint32_t | get_extended_decoration (uint32_t id, ExtendedDecorations decoration) const |
| |
| uint32_t | get_extended_decoration (uint32_t id, ExtendedDecorations decoration) const |
| |
| uint32_t | get_extended_decoration (uint32_t id, ExtendedDecorations decoration) const |
| |
| bool | has_extended_decoration (uint32_t id, ExtendedDecorations decoration) const |
| |
| bool | has_extended_decoration (uint32_t id, ExtendedDecorations decoration) const |
| |
| bool | has_extended_decoration (uint32_t id, ExtendedDecorations decoration) const |
| |
| void | unset_extended_decoration (uint32_t id, ExtendedDecorations decoration) |
| |
| void | unset_extended_decoration (uint32_t id, ExtendedDecorations decoration) |
| |
| void | unset_extended_decoration (uint32_t id, ExtendedDecorations decoration) |
| |
| void | set_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration, uint32_t value=0) |
| |
| void | set_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration, uint32_t value=0) |
| |
| void | set_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration, uint32_t value=0) |
| |
| uint32_t | get_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) const |
| |
| uint32_t | get_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) const |
| |
| uint32_t | get_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) const |
| |
| bool | has_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) const |
| |
| bool | has_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) const |
| |
| bool | has_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) const |
| |
| void | unset_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) |
| |
| void | unset_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) |
| |
| void | unset_extended_member_decoration (uint32_t type, uint32_t index, ExtendedDecorations decoration) |
| |
| bool | type_is_array_of_pointers (const SPIRType &type) const |
| |
| bool | type_is_array_of_pointers (const SPIRType &type) const |
| |
| bool | type_is_array_of_pointers (const SPIRType &type) const |
| |
| bool | type_is_top_level_physical_pointer (const SPIRType &type) const |
| |
| bool | type_is_top_level_physical_pointer (const SPIRType &type) const |
| |
| bool | type_is_top_level_physical_pointer (const SPIRType &type) const |
| |
| bool | type_is_block_like (const SPIRType &type) const |
| |
| bool | type_is_block_like (const SPIRType &type) const |
| |
| bool | type_is_block_like (const SPIRType &type) const |
| |
| bool | type_is_opaque_value (const SPIRType &type) const |
| |
| bool | type_is_opaque_value (const SPIRType &type) const |
| |
| bool | type_is_opaque_value (const SPIRType &type) const |
| |
| bool | reflection_ssbo_instance_name_is_significant () const |
| |
| bool | reflection_ssbo_instance_name_is_significant () const |
| |
| bool | reflection_ssbo_instance_name_is_significant () const |
| |
| bool | flush_phi_required (BlockID from, BlockID to) const |
| |
| bool | flush_phi_required (BlockID from, BlockID to) const |
| |
| bool | flush_phi_required (BlockID from, BlockID to) const |
| |
| uint32_t | evaluate_spec_constant_u32 (const SPIRConstantOp &spec) const |
| |
| uint32_t | evaluate_spec_constant_u32 (const SPIRConstantOp &spec) const |
| |
| uint32_t | evaluate_spec_constant_u32 (const SPIRConstantOp &spec) const |
| |
| uint32_t | evaluate_constant_u32 (uint32_t id) const |
| |
| uint32_t | evaluate_constant_u32 (uint32_t id) const |
| |
| uint32_t | evaluate_constant_u32 (uint32_t id) const |
| |
| bool | is_vertex_like_shader () const |
| |
| bool | is_vertex_like_shader () const |
| |
| bool | is_vertex_like_shader () const |
| |